feature: add support for constant values by robertadkins · Pull Request #1835 · ferdikoomen/openapi-typescript-codegen
Navigation Menu
{{ message }}
ferdikoomen / openapi-typescript-codegen Public
- Notifications You must be signed in to change notification settings
- Fork 543
Open
robertadkins wants to merge 1 commit intoferdikoomen:mainfrom
Open
feature: add support for constant values#1835
robertadkins wants to merge 1 commit intoferdikoomen:mainfrom
feature: add support for constant values#1835
robertadkins wants to merge 1 commit intoferdikoomen:mainfrom
Conversation
Copy link Copy Markdown
robertadkins
commented
Oct 14, 2023
robertadkins
commented
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.
robertadkins
marked this pull request as ready for review
robertadkins
force-pushed
the
add-const-support
branch
from
e70a61e to
0e324e8
Compare
Copy link Copy Markdown
Author
robertadkins
commented
Oct 23, 2023
robertadkins commented
Oct 23, 2023Since const was added in OpenAPI v3.1 (see discussion in #1834), updating this PR to only modify the v3 parsing and tests.
Copy link Copy Markdown
Collaborator
mrlubos
commented
Jan 28, 2024
mrlubos commented
Jan 28, 2024@robertadkins we've decided to merge this pull request in our fork, thanks for this feature!
Copy link Copy Markdown
kovalewvladimir
commented
Feb 21, 2024
kovalewvladimir commented
Feb 21, 2024@robertadkins we've decided to merge this pull request in our fork, thanks for this feature!
Thank you. It really works in the fork.
Copy link Copy Markdown
Collaborator
mrlubos
commented
Feb 21, 2024
mrlubos commented
Feb 21, 2024@kovalewvladimir are there any other issues you're running into with this package?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment