Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dapper91/python-openapi-ui-bundles

This package provides the static files for OpenAPI UI tools as a python package.
https://github.com/dapper91/python-openapi-ui-bundles

api-documentation api-schema documentation openapi openapi-documentation openapi-specification openapi-ui rapidoc redoc swagger swagger-documentation swagger-specification swagger-ui

Last synced: about 2 months ago
JSON representation

This package provides the static files for OpenAPI UI tools as a python package.

Awesome Lists containing this project

README

        

Python OpenAPI UI bundles
=========================

This package provides the static files for `OpenAPI `_ UI tools as a python package.
The following UI tools are included:

- `Swagger UI `_.
- `RapiDoc `_.
- `ReDoc `_.

Flask usage example:
~~~~~~~~~~~~~~~~~~~~

.. code-block:: python

import flask
import openapi_ui_bundles

app = flask.Flask(__name__, static_folder=openapi_ui_bundles.swagger_ui.static_path, static_url_path='/')

if __name__ == "__main__":
app.run()

Swagger UI
----------

.. image:: images/swagger-ui-screenshot.png
:width: 1024
:alt: Swagger UI example

RapiDoc
-------

.. image:: images/rapidoc-screenshot.png
:width: 1024
:alt: RapiDoc UI example

ReDoc
-----

.. image:: images/redoc-screenshot.png
:width: 1024
:alt: ReDoc UI example