OpenAPI Viewer
View an OpenAPI document in your browser with one command. Supports both JSON and YAML documents
Installation
$ npm install -g openapi-viewer
Usage
You simple execute at the terminal
# ctrl + c to exit $ openapi-viewer petstore.json
or
$ openapi-viewer https://petstore.swagger.io/v2/swagger.json