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.
$ npm install -g swaag-cli
$ 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
MIT © Sid Doshi