diff --git a/sap-schemas/v2.0/README.md b/sap-schemas/v2.0/README.md index edeaa74..e8aa2b6 100644 --- a/sap-schemas/v2.0/README.md +++ b/sap-schemas/v2.0/README.md @@ -305,31 +305,6 @@ Constraints: - MUST be used with [`"format": "decimal"`](https://spec.openapis.org/registry/format/decimal.html) - MAY be used with `"type": "string"`, `"type": "number"`, or any combination with these -Example: `DECFLOAT34` value for `price` - -```json -{ - "components": { - "schemas": { - "Product": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "price": { - "type": ["number", "string", "null"], - "format": "decimal", - "x-sap-precision": 34 - } - } - } - } - } -} -``` - ### `x-sap-scale` - Type: `Integer` diff --git a/sap-schemas/v3.0/README.md b/sap-schemas/v3.0/README.md index c6bc893..7937e2b 100644 --- a/sap-schemas/v3.0/README.md +++ b/sap-schemas/v3.0/README.md @@ -257,39 +257,6 @@ Constraints: - MUST be used with [`"format": "decimal"`](https://spec.openapis.org/registry/format/decimal.html) - MAY be used with `"type": "string"`, `"type": "number"`, or any combination with these -Example: `DECFLOAT34` value for `price` - -```json -{ - "components": { - "schemas": { - "Product": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "price": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ], - "nullable": true, - "format": "decimal", - "x-sap-precision": 34 - } - } - } - } - } -} -``` - ### `x-sap-scale` - Type: `Integer`