Repository navigation
OpenApi for your REST APIs in NestJS #176
Replies: 3 comments 3 replies
|
Hi, cool tutorial, I really like Swagger now, thanks! Also, there is mention of Product - those probably were typos and you meant Users |
|
Can you please also help how to add http @options() http method for any of the method PATCH, DELETE,PUT method. And how we can expose that @options() route in SWAGGER. I am also using same @nestjs/swagger and enabled CORS to support OPTIONS method (preflight browser request). Thank you very much in advance. |
|
It's possible download the schema created? |
Uh oh!
There was an error while loading. Please reload this page.
OpenApi for your REST APIs in NestJS
Setup Swagger to generate an OpenApi documentation for your REST endpoints.
https://notiz.dev/blog/openapi-in-nestjs
All reactions