trailsjs / sails-swagger

Swagger integration for sails.js
107 stars 47 forks source link

Move config into the hook's "default()" function, add default pkg values #5

Closed AlexisNo closed 8 years ago

AlexisNo commented 9 years ago

Hi, I am very interested by this hook and would be pleased to give an help.

I installed it on Sails master branch. Dealing with the configuration, I thought I could propose some evolution:

If these proposals are OK for you, I could update the README too.

As a second step, do you think that it would make sense (or is possible) to generate the routes config in the hook's default() function?