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

OAS v3.1 schema model missing const #610

Closed
MikeEdgar opened this issue Apr 27, 2023 · 0 comments · Fixed by #613
Closed

OAS v3.1 schema model missing const #610

MikeEdgar opened this issue Apr 27, 2023 · 0 comments · Fixed by #613

Comments

@MikeEdgar
Copy link
Contributor

Schemas generated for OAS v3.1 should include a const attribute, functionally the same as an enum with a single value [1].

[1] https://json-schema.org/draft/2020-12/json-schema-validation.html#section-6.1.3

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