I am using Typescript with Koa. Can someone tell me how can I generate automatic API documentation (not manually)? I saw there is a package tsoa (https://www.npmjs.com/package/tsoa) but I only want to have a simple API doc for my routes, so I don't want to create controllers.
Asked
Active
Viewed 1,610 times
2
-
1If you need answer still you can look at packages like koa-docs koa-joi-swagger and koa-oai-router – svltmccc Nov 29 '19 at 11:51
-
Than you, @SaveliTomac! I finally used https://www.npmjs.com/package/koa-swagger-decorator – Dionis Oros Dec 01 '19 at 07:31