UNPKG

egg-joi-swagger

Version:

joi + swagger + validate plugin for eggjs

28 lines (26 loc) 507 B
'use strict'; /** * egg-joi-swagger default config * @member Config#joiSwagger * @property {String} SOME_KEY - some description */ exports.joiSwagger = { routePath: '', schemaPath: '', customLogo: '', sampleTheme: '', sampleLanguages: { shell: 'Shell', http: 'HTTP', javascript: 'JavaScript', 'javascript--nodejs': 'Node.js', ruby: 'Ruby', python: 'Python', java: 'Java', go: 'Go', php: 'PHP', }, servers: [], securitySchemes: {}, security: [], };