As specified in https://spec.openapis.org/oas/3.0/schema/latest.html the field exclusiveMinimum is a boolean. But while using the example code in doc/openapi.md and changing it to the 3.0 instances, the validation fails with an JsonSchemaException: exclusiveMinimum value is not a number at ExclusiveMinimumValidator.java:45
As specified in https://spec.openapis.org/oas/3.0/schema/latest.html the field
exclusiveMinimum
is a boolean. But while using the example code indoc/openapi.md
and changing it to the 3.0 instances, the validation fails with an JsonSchemaException: exclusiveMinimum value is not a number at ExclusiveMinimumValidator.java:45I used it like this:
and also tried VersionFlag.V7 and other variants.
Expected behavior:
should validate just fine, with OpenAPI 3.0 and draft 4.
Note: in OpenAPI 3.1 this is changed to a number.