Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Plugin for aiohttp with swagger support a

Project description

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

from jibrel_aiohttp_swagger import setup_swagger
setup_swagger(app,
              spec_path='v1.swagger.yml',
              version_file_path='version.txt')

======= History

0.1.0 (2019-07-05)

  • First release on PyPI.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jibrel-aiohttp-swagger, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size jibrel_aiohttp_swagger-0.1.0-py2.py3-none-any.whl (2.4 MB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size jibrel_aiohttp_swagger-0.1.0.tar.gz (2.4 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page