From c08b7a5fb707791a17a45950b40d01e114d03080 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Fri, 31 Mar 2023 17:57:48 +0200 Subject: [PATCH] Remove DECFLOAT34 example --- sap-schemas/v2.0/README.md | 25 ------------------------- sap-schemas/v3.0/README.md | 33 --------------------------------- 2 files changed, 58 deletions(-) diff --git a/sap-schemas/v2.0/README.md b/sap-schemas/v2.0/README.md index 54ed7f6..34b88e4 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 f8b8c3d..fbc79fb 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`