Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 πΌπ¨
- Host: GitHub
- URL: https://github.com/sleavely/swagger-local
- Owner: Sleavely
- Created: 2019-06-30T10:50:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T20:44:54.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T11:27:06.996Z (about 1 month ago)
- Topics: cli-app, nodejs, swagger, swagger-ui
- Language: JavaScript
- Homepage:
- Size: 155 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
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 --helpUsage
$ swagger-localStarts a temporary local Swagger server
The swaggerfile argument can be either a file or
a directory containing swagger.y[a]mlOptions
--help
--no-stop Dont stop the server after launching browser
--port Set the port to useFor 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)