2.0.3 • Published 8 years ago
egg-raml-console v2.0.3
egg-raml-console
RAML console plugin for egg.
Usage
First, install it:
npm instal egg-raml-consoleImport it via config/plugin.js:
module.exports = {
...
'raml-console': {
enable: true,
package: 'egg-raml-console'
}
...
}Configure it via config/config.<env>.js:
module.exports = {
...
ramlConsole: {
ramlPath: '/path/to/raml/dir' // default value: 'absolute path to assets/raml-examples'
mountPath: '<routePath>', // default value: '/docs'
}
...
}