Open RastislavGraus opened 1 year ago
Open public Swagger-Editor on URI https://editor-next.swagger.io/ and paste my OpenApi definition in it.
Example Swagger/OpenAPI definition: openapi: 3.0.3 info: description: Wrong validation title: Validation version: 1.0.0 paths: components: schemas: Data: properties: quantity: type: number minimum: 0.000 exclusiveMinimum: true type: object
Swagger-Editor configuration options: default
After paste of given OpenApi definition, you get a wrong validation error: "14 | 10017 | exclusiveMinimum' value must be a number". According to documentation https://swagger.io/docs/specification/data-models/data-types/#numbers is my definition correct.
Steps to reproduce the behavior:
No validation error will be displayed
In openapi 3.0.x eclusiveMinimum and exclusiveMaximus must be a number With openapi 3.1 both are booleans
Q&A (please complete the following information)
Content & configuration
Open public Swagger-Editor on URI https://editor-next.swagger.io/ and paste my OpenApi definition in it.
Example Swagger/OpenAPI definition: openapi: 3.0.3 info: description: Wrong validation title: Validation version: 1.0.0 paths: components: schemas: Data: properties: quantity: type: number minimum: 0.000 exclusiveMinimum: true type: object
Swagger-Editor configuration options: default
Describe the bug you're encountering
After paste of given OpenApi definition, you get a wrong validation error: "14 | 10017 | exclusiveMinimum' value must be a number". According to documentation https://swagger.io/docs/specification/data-models/data-types/#numbers is my definition correct.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
No validation error will be displayed
Screenshots
Additional context or thoughts