Is anyone else struggling with swagger? It seems like it’s designed for a design first approach but the project we worked through had us use the code first approach. The current documentation for swagger doesn’t have information on using swagger to document our APIs after the fact.
So I dove in and used swagger-jsdoc and swagger-ui-express to make my documentation and decided to go the route of adding a comment to each route to document it.