-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static generation #252
Comments
It is not that hard to create a script to do that. To add the property to the typescript definitions you have to adjust the
Then you can create a script / entrypoint in the src directory, for example
You can then run that script with: If you prefer yaml output, you can of course also add a yaml writer package and write the object as yaml. |
Is there a way to generate the swagger json or yml and statically store it? I want to be able to lock the specs down, so that code must conform to the spec instead of the spec just representing the code in flux.
The text was updated successfully, but these errors were encountered: