Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rai200890/swagger-stub-api


https://github.com/rai200890/swagger-stub-api

flask python swagger

Last synced: 20 days ago
JSON representation

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.

```