Next.js Discord

Discord Forum

how to use swagger on nextjs 13

Short-billed Dowitcher posted this in #help-forum
Open in Discord
Short-billed DowitcherOP
I tried [next-swagger-doc]( I think this library is compatible with version 12. Has anyone seen a Swagger article compatible with NextJS13? If you set js-doc above the route method, you want the document to be generated automatically.

I wish:

* @swagger
* @params 
* ...
export GET( ...) { ...}

0 Replies