Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusive min/max schema properties are numbers in OAS v3.1 #609

Closed
MikeEdgar opened this issue Apr 27, 2023 · 1 comment · Fixed by #613
Closed

Exclusive min/max schema properties are numbers in OAS v3.1 #609

MikeEdgar opened this issue Apr 27, 2023 · 1 comment · Fixed by #613

Comments

@MikeEdgar
Copy link
Contributor

In OAS v3.1 (via JSON schema 2020-12) the exclusiveMaximum and exclusiveMinimum schema properties are numbers [1] rather the booleans used by the draft included in OAS v3.0 [2].

[1] https://json-schema.org/draft/2020-12/json-schema-validation.html#section-6.2.3
[2] https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5.3

@MikeEdgar
Copy link
Contributor Author

@EricWittmann , changing this would probably qualify as a breaking change. Do you agree it should be done and can/should it be included before 2.0 is GA?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant