Jacques Perrault
Jacques Perrault
I just "swaggerized" my existing express app; it was a bit frustrating, especially given that I had not previously used Swagger. It came down to a few "simple" steps: 1....
@brunerson [These definitions](https://github.com/JacquesPerrault/vitality/blob/master/api/swagger/swagger.yaml) might provide you with a good starting point. A few notes: 1. I take advantage of the `x-swagger-router-controller:` parameter to give my [controller filenames](https://github.com/JacquesPerrault/vitality/tree/master/api/controllers) more intuitive naming...
@codercurtis does [this](https://github.com/JacquesPerrault/vitality/blob/master/api/swagger/swagger.yaml) help?
There is also a very interesting way of modularizing it documented [here](http://azimi.me/2015/07/16/split-swagger-into-smaller-files.html) I found the article was just slightly out of date, but if you look at his repo (referenced...