module.exports = { swaggerDefinition: { info: { description: 'nodejs-simple-authentication é uma aplicação simples de autenticação e autorização que utiliza JWT e bcrypt.', title: 'nodejs-simple-authentication', version: '1.2.0', }, host: '127.0.0.1:1010', // dev //host: 'demo.andrealmeida.net', // prod basePath: '/v1', produces: [ "application/json", "application/xml" ], //schemes: ['https'], //dev commented //schemes: ['https'], //prod uncommented securityDefinitions: { basicAuth: { type: "basic" }, JWT: { "type": "apiKey", "name": "Authorization", "in": "header" } }, security: [ { "basicAuth": [], "JWT": [] } ] }, basedir: __dirname, //app absolute path files: ['./routes/**/*.js'] //Path to the API handle folder }