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

Support OpenAPI 3.1. ExclusiveMinimum and ExclusiveMaximum #23

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

charjr
Copy link

@charjr charjr commented Nov 1, 2024

OpenAPI 3.0 had exclusiveMaximum and exclusiveMinimum be boolean values, following the Json schema from 2016.

OpenAPI 3.1 follows the Json Schema from 2020:
exclusiveMaximum MUST be a number
exclusiveMinimum MUST be a number

To support both we need to support those values being numbers as well.

If I haven't solved it in the optimal way let me know. 👍

Handles part of #24

@charjr charjr force-pushed the fix-3.1 branch 2 times, most recently from f4c5575 to 00bc029 Compare November 1, 2024 12:51
@charjr charjr changed the title Allow ExclusiveMinimum and ExclusiveMaximum to be numbers Support OpenAPI 3.1. ExclusiveMinimum and ExclusiveMaximum Nov 1, 2024
@DEVizzent DEVizzent merged commit 9e20902 into DEVizzent:master Nov 19, 2024
46 checks passed
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 this pull request may close these issues.

2 participants