swagger-egg-plus
Version:
swagger document generator for egg.
24 lines (22 loc) • 421 B
JavaScript
;
/**
* egg-swagger-egg default config
* @member Config#swaggerEgg
* @property {String} SOME_KEY - some description
*/
exports.swaggerEgg = {
schema: {
path: '/app/schema', // JSON Schema directory
},
swagger: {
host: '',
basePath: '/',
schemes: [
'https',
'http',
],
consumes: [ 'application/json' ],
produces: [ 'application/json' ],
tags: [],
},
};