Skip to main content

Rapidoc support for openapi sepc

Project description

Rapidoc for Quart

Build Status GitHub license

Create beautiful, customizable, interactive API documentation from OpenAPI Specification for Quart.

Rapidoc

RapiDoc is fully customisable and small and fast. It comes with built in console to Try out the APIs. Supports authentication mechanism.

Quickstart

First, install Quart-Rapidoc

pip install Quart-Rapidoc

Next, add Rapidoc class to your code:

    from quart import Quart
    from quart_rapidoc import Rapidoc

    app = Quart(__name__)
    app.config['DOC_FILE'] = 'petstore.yml'
    Rapidoc(app)

You can also customise the docs rendering:

    from quart import Quart
    from quart_rapidoc import Rapidoc

    app = Quart(__name__)
    conf = {
        "allow-try": False,
        "theme": "light",
        "show-header": True,
    }

    app.config['RAPIDOC_CONFIG'] = conf            
    Rapidoc(app)

More of config parameters can be found here

Compatibility

Quart-Rapidoc depends on recent versions of Quart, PyYaml. Quart-Rapidoc may work with older versions, but compatibility fixes for older versions will not be accepted, and future changes may break compatibility in older versions.

Quart-Rapidoc is tested against Python 3.7+ versions.

More Info

Rapidoc: https://mrin9.github.io/RapiDoc/

Screenshots

Rapidoc

Rapidoc

Rapidoc

Rapidoc


Contributors of Quart-Rapidoc

Sriram G https://github.com/marirs

Project details


Download files

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

Source Distribution

Quart-Rapidoc-0.5.1.tar.gz (212.4 kB view hashes)

Uploaded Source

Built Distribution

Quart_Rapidoc-0.5.1-py3-none-any.whl (213.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page