Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rai200890/swagger-stub-api
https://github.com/rai200890/swagger-stub-api
flask python swagger
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rai200890/swagger-stub-api
- Owner: rai200890
- Created: 2017-09-27T15:09:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-06T19:12:40.000Z (over 3 years ago)
- Last Synced: 2024-09-28T03:12:21.226Z (about 1 month ago)
- Topics: flask, python, swagger
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# swagger-stub-api
[![Build Status](https://travis-ci.org/rai200890/swagger-stub-api.svg?branch=master)](https://travis-ci.org/rai200890/swagger-stub-api)
[![PyPI version](https://badge.fury.io/py/swagger-stub-api.svg)](https://badge.fury.io/py/swagger-stub-api)Command-line application that spins up a [Flask](https://github.com/pallets/flask) app for mocking APIs from [Swagger](https://swagger.io/) specification, using [swagger-parser](https://github.com/Trax-air/swagger-parser).
## Installation
```
pip install swagger-stub-api
```## Usage
```
Usage: swagger-stub-api [OPTIONS] SWAGGER_PATH
Options:
--port INTEGER Port used when running application
--host TEXT Host used when running application
--help Show this message and exit.```