Generates different human readable version of AGILE API spec
- DBus API as
html
- DBus API as
json
- Restful API in
swagger
v2.0 Restful API inTo be refactored, waiting for proper 1.0 support!raml
v1.0
- Clone the repository
- Install
nodejs
and itsnpm
package - From the repository directory run
npm i
- Edit
./config.json
to point to a clone of agile-iot/agile-api-spec - run
bin/api-export
, see above for details on 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.
EPL 1.O