Support for const
definitions
#685
Labels
enhancement
New feature or request
planned
Expected in an upcoming version
PRs welcome
PRs are welcome to solve this issue!
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: