Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sleavely/swagger-local

πŸ“Ÿ Opens local πŸ—„ Swagger files in the Swagger UI πŸ–ΌπŸŽ¨
https://github.com/sleavely/swagger-local

cli-app nodejs swagger swagger-ui

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

# swagger-local

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

[Github](https://github.com/Sleavely/swagger-local) | [NPM](https://www.npmjs.com/package/swagger-local)

## Install

```
$ npm i -g swagger-local
```

Node 8+ is required.

## Usage

```
$ swagger-local --help

Usage
$ swagger-local

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

- [open-cli](https://github.com/sindresorhus/open-cli)
- [swagger-ui-express](https://github.com/scottie1984/swagger-ui-express)