Sleavely / swagger-local

πŸ“Ÿ Opens local πŸ—„ Swagger files in the Swagger UI πŸ–ΌπŸŽ¨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swagger-local

Open up local Swagger files without exposing them to the web.

Github | NPM

Install

$ npm i -g swagger-local

Node 8+ is required.

Usage

$ swagger-local --help

  Usage
    $ swagger-local <swaggerfile>

  Starts a temporary local Swagger server

  The swaggerfile argument can be either a file or
  a directory containing swagger.y[a]ml


  Options
    --help
    --no-stop    Dont stop the server after launching browser
    --port       Set the port to use

  For more information, see:
  https://github.com/Sleavely/swagger-local

Related

About

πŸ“Ÿ Opens local πŸ—„ Swagger files in the Swagger UI πŸ–ΌπŸŽ¨


Languages

Language:JavaScript 100.0%