JSPM

openapi-viewer

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 305
    • Score
      100M100P100Q84344F
    • License ISC

    UI for OpenAPI files

    Package Exports

    • openapi-viewer

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (openapi-viewer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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