Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arkodeepsen/openapi-gen-wrapper

A Python tool for generating OpenAPI specs
https://github.com/arkodeepsen/openapi-gen-wrapper

openapi openapi-generator pypi pypi-package python python-api python-package python-wrapper wrapper wrapper-api

Last synced: about 2 months ago
JSON representation

A Python tool for generating OpenAPI specs

Awesome Lists containing this project

README

        

# OpenAPI Gen Wrapper
[![Publish Python 🐍 distribution](https://github.com/arkodeepsen/openapi-gen-wrapper/actions/workflows/python-publish.yml/badge.svg)](https://github.com/arkodeepsen/openapi-gen-wrapper/actions/workflows/python-publish.yml)
## Description

A Python wrapper for generating OpenAPI specifications from routes in a Python project.

## Installation

```bash
pip install openapi-gen-wrapper
```

## Usage
Here’s how you can use the wrapper:

```python
from openapi_gen_wrapper import generate_openapi_spec
```

# Example usage
```
generate_openapi_spec(routes=["/hello", "/goodbye"])
```
License
```
MIT License
```