2.0.3 • Published 7 years ago

egg-raml-console v2.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

egg-raml-console

Standard - JavaScript Style Guide Dependency Status DevDependency Status NPM Downloads

RAML console plugin for egg.

Usage

First, install it:

npm instal egg-raml-console

Import 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'
  }

  ...
}

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

1.0.0

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago