You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You want to regenerate the openapi types when a file has changed (in this case the openapi.json file).
It would be interesting to have a sort of watch mode built-in which would check changes to the openapi json file (or however is the best way to do this).
This discussion was converted from issue #654 on June 24, 2024 14:28.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
Here is the use case:
You want to regenerate the openapi types when a file has changed (in this case the
openapi.json
file).It would be interesting to have a sort of watch mode built-in which would check changes to the openapi json file (or however is the best way to do this).
For inspiration/extra examples other packages have done something similar like this: https://the-guild.dev/graphql/codegen/docs/getting-started/development-workflow#watch-mode.
Beta Was this translation helpful? Give feedback.
All reactions