What do you use to get a swagger.json or similar for api documentation?<p>In the dotnet world there is swashbuckle. Is there a node equivalent or better?
I have been using tsoa to generate API documentation from TypeScript types.
<a href="https://github.com/lukeautry/tsoa" rel="nofollow">https://github.com/lukeautry/tsoa</a><p>Example project: <a href="https://github.com/RaedsLab/demo-project/blob/master/backend/src/controller/todo.ts" rel="nofollow">https://github.com/RaedsLab/demo-project/blob/master/backend...</a>
I think the official swagger-node (<a href="https://github.com/swagger-api/swagger-node" rel="nofollow">https://github.com/swagger-api/swagger-node</a>) hasn't been updated for a while. There is swagger-jsdoc (<a href="https://www.npmjs.com/package/swagger-jsdoc" rel="nofollow">https://www.npmjs.com/package/swagger-jsdoc</a>) though.