https://github.com/qubistlabs/jibrel-aiohttp-swagger
Swagger UI plugin for aiohttp
https://github.com/qubistlabs/jibrel-aiohttp-swagger
Last synced: about 2 months ago
JSON representation
Swagger UI plugin for aiohttp
- Host: GitHub
- URL: https://github.com/qubistlabs/jibrel-aiohttp-swagger
- Owner: qubistlabs
- Created: 2019-07-05T23:19:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T20:47:40.000Z (almost 3 years ago)
- Last Synced: 2025-08-20T03:00:10.406Z (3 months ago)
- Language: Python
- Size: 2.23 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Jibrel aiohttp swagger plugin
Minimal aiohttp swagger UI plugin.
Features:
* render swagger UI
* add spec endpoint and serve provided yaml for UI
* serve swagger UI static
* optional spec version substitution from file content
## Install
Last published release:
`pip install jibrel-aiohttp-swagger`
Dev version from git:
`pip install git+https://github.com/jibrelnetwork/jibrel-aiohttp-swagger#egg=jibrel_aiohttp_swagger`
## Usage
```python
from jibrel_aiohttp_swagger import setup_swagger
setup_swagger(app,
spec_path='v1.swagger.yml',
version_file_path='version.txt')
```