swagger-local
v1.1.0
Published
Opens local Swagger files in the Swagger UI
Downloads
3
Readme
swagger-local
Open up local Swagger files without exposing them to the web.
Install
$ npm i -g swagger-local
Node 8+ is required.
Usage
$ swagger-local --help
Usage
$ swagger-local <swaggerfile>
Starts a temporary local Swagger server
The swaggerfile argument can be either a file or
a directory containing swagger.y[a]ml
Options
--help
--no-stop Dont stop the server after launching browser
--port Set the port to use
For more information, see:
https://github.com/Sleavely/swagger-local