swaag-cli
v0.1.2
Published
CLI for swaag API
Downloads
5
Readme
swaag-cli 😎
Swagger UI server CLI
When documentating APIs in swagger, using the online editor can cause troubles if we try to split documentation in multiple files. swaag
helps to easily host swagger-ui locally.
Note that it hosts swagger-ui
, not swagger-editor
. You must edit the swagger files on your local editor.
To use the API directly, see swaag.
Install
$ npm install -g swaag-cli
Usage
$ swaag-cli -h
Usage: swaag [options]
Options:
-V, --version output the version number
-e, --entry-point <file> entry point of swagger documentation file
-p, --port <p> port number
-w, --watch watch the directory of entryPoint and update
-h, --help output usage information
License
MIT © Sid Doshi