swagger-ui-preview

1.0.3 • Public • Published

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

Related packages

Package Sidebar

Install

npm i swagger-ui-preview

Weekly Downloads

2

Version

1.0.3

License

BSD-2-Clause

Last publish

Collaborators

  • mdeboer