-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Can swagger generation happens automatically when the app locally is restarted after save action? #836
Comments
Don't know how to. |
I know that default nest.js swagger generator regenerates document every time I save any changes and product is getting restart. Probably there're might be some hooks |
Consider nestjs hook: https://docs.nestjs.com/fundamentals/lifecycle-events#lifecycle-events-1 |
I've researched and studied the automatic re-generation of Swagger Documents from the Instead, I though another idea to accomplish this issue. If NestJS core team decides to support OpenAPI v3.1, and adapts So I wanna ask to the NestJS developers @kamilmysliwiec, @flamewow and @micalevisk. How do you think about this plan? As you know, current |
as you can see, I'm the last person who can opine about About OpenAPI v3.1, I guess |
@micalevisk Well, to convert TypeScript type to JSON schema or OpenAPI operation, have to make complicate type schema system. So it is hard to accomplish the goal without 3rd party library (of my
If my suggestion be rejected, @machendos @Untaek you should just run the |
@micalevisk By the way, about the multiple OpenAPI versions supporting, I am using this strategy.
|
No description provided.
The text was updated successfully, but these errors were encountered: