@qc2168/swagger-egg
Version:
swagger document generator for egg.
28 lines (26 loc) • 572 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
},
swaggerUI: {
deepLinking: true,
docExpansion: 'none',
filter: false,
syntaxHighlight: false,
},
swagger: {
host: '',
basePath: '/',
schemes: ['https', 'http'],
consumes: ['application/json'],
produces: ['application/json'],
tags: [],
},
typescriptJsonSchema: false,
};