Novelty Promotes Magicians

    swagger-viewer

    0.2.9 • Public • Published

    swagger-viewer

    A command line tool to view your swagger spec file.

    To install, run npm install -g swagger-viewer.

    To use: swagger-viewer [--open] [--port <port>] [--host <host>] [--] <spec-url | spec-path>

    This tool accepts both swagger spec files and urls.

    Example usage:

    swagger-viewer swagger.yaml
    swagger-viewer http://example.com/swagger.yaml
    swagger-viewer --open -- swagger.yaml # open documentation in browser
    swagger-viewer --port 8888 swagger.yaml # set listen port
    

    Keywords

    none

    Install

    npm i swagger-viewer

    DownloadsWeekly Downloads

    16

    Version

    0.2.9

    License

    MIT

    Unpacked Size

    5.75 kB

    Total Files

    4

    Last publish

    Collaborators

    • fatihky