I am able to configure swagger url using the Express API with autogenerated OpenAPI doc through Swagger article.
I am using TypeScript and it generates .js files under dist which does not have any API doc comments added. Pointing apis: ['../dist/*.js'] nor to Route.ts generates the API details. I am not using any rest decorator.
/**
* @swagger
* /:
* get:
* description: This should return ok
*/
this.router.get("/", (req: Request, res: Response) => this.api.process(req, res));
The Routes.ts API doc looks like the above. How to generate swagger doc from this?