-
-
Notifications
You must be signed in to change notification settings - Fork 397
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 for const
definitions
#685
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
planned
Expected in an upcoming version
Comments
Working on it. UPD: #831 |
This was added in v5 a while back, and support has improved for the upcoming v6 version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
planned
Expected in an upcoming version
Currently we have to use the following schema to define constants:
Which results in:
JSON schema supports defining with the
const
property, and it looks like OAI has adopted it as well? The definition would look like this:And would result in the same Typescript as above.
The text was updated successfully, but these errors were encountered: