openapi-typescript-codegen
openapi-typescript-codegen copied to clipboard
feature: add support for constant values
Closes #1834
See the issue above for a description of a usecase where support for the const
keyword is useful. Updated the snapshot tests to verify correct output.
Since const
was added in OpenAPI v3.1 (see discussion in #1834), updating this PR to only modify the v3 parsing and tests.
@robertadkins we've decided to merge this pull request in our fork, thanks for this feature!
@robertadkins we've decided to merge this pull request in our fork, thanks for this feature!
Thank you. It really works in the fork.
@kovalewvladimir are there any other issues you're running into with this package?