Skip to content

Generates different human readable version of AGILE API spec

License

Notifications You must be signed in to change notification settings

Agile-IoT/agile-api-generator

Repository files navigation

agile-api-generator

Generates different human readable version of AGILE API spec

Supported outputs

  • DBus API as html
  • DBus API as json
  • Restful API in swagger v2.0
  • Restful API in raml v1.0 To be refactored, waiting for proper 1.0 support!

Installation

  1. Clone the repository
  2. Install nodejs and its npm package
  3. From the repository directory run npm i
  4. Edit ./config.json to point to a clone of agile-iot/agile-api-spec
  5. run bin/api-export, see above for details on usage

Usage

Run bin/api-export to generate documentation.

To create a specific format only (see supported outputs for the available codes) run providing the format as argument eg. bin/api-export raml

To automate the building of the api while editing there is a gulp task which serve on a local webserver (http://localhost:8000) the generated api at every change. Use livereload in chrome to get the page reloaded automatically.

License

EPL 1.O

About

Generates different human readable version of AGILE API spec

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published