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 |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
It's possible download the schema created? |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions