Replies: 3 comments 6 replies
-
I run my setup via turbo, which executes a dev script for all my packages. My OpenAPI server runs in dev mode, so when my generated client package is in dev mode, i expect it to watch the URL of my OpenAPI server and re-generate on demand. |
Beta Was this translation helpful? Give feedback.
-
well I ended up fixing this quite some time ago:
|
Beta Was this translation helpful? Give feedback.
-
Hey all, this will be available in the next release 0.61.0 under the For now, only remote files via URL are supported, will add local file support later if requested |
Beta Was this translation helpful? Give feedback.
-
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