1.0.3 • Published 7 years ago
swagger-ui-preview v1.0.3
Swagger UI Preview
Easiest way to preview your swagger files with swagger-ui. Uses swagger-parser under the hood to parse swagger files and feed them to swagger-ui.
Installation
npm install -g swagger-ui-preview
Usage
Run swagger-ui-preview with the path to your swagger file (JSON or YAML) and point your browser to http://localhost:8080.
swagger-ui-preview /path/to/your/swagger_file.yml
In case you want to run swagger-ui-preview on a different port:
swagger-ui-preview -p 3000 /path/to/your/swagger_file.yml