Any idea of how to integrate swagger, swagger-ui with a sails js project?
Where can i found information about it, or about another
Install
$ npm install sails-swagger --save
Configuration
// config/swagger.js
module.exports.swagger = {
/**
* require() the package.json file for your Sails app.
*/
pkg: require('../package'),
ui: {
url: 'http://swagger.balderdash.io'
}
};
After installing and configuring swagger, you can find the docs output on the /swagger/doc
route.