Rapidoc support for openapi sepc
Project description
Rapidoc for Quart
Create beautiful, customizable, interactive API documentation from OpenAPI Specification for Quart.
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
Contributors of Quart-Rapidoc
Sriram G https://github.com/marirs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Quart-Rapidoc-0.5.1.tar.gz
.
File metadata
- Download URL: Quart-Rapidoc-0.5.1.tar.gz
- Upload date:
- Size: 212.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8fb1e479e883b284bdd11c805604ee59a08f2f2a5b670e89d368690e52f53a5 |
|
MD5 | 5639c5aa011d5d0a34ef1fb9e923f6a6 |
|
BLAKE2b-256 | b153b7b7999154cac169f3484535af9d337accc1d62c0aa867363678dc189fd8 |
File details
Details for the file Quart_Rapidoc-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: Quart_Rapidoc-0.5.1-py3-none-any.whl
- Upload date:
- Size: 213.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0d20378fdd9ff45e6987a35a3626d4ed9e58e3fae8bcd1af33050937079d287 |
|
MD5 | f44b7701931b1e143636ede38d439261 |
|
BLAKE2b-256 | 6da9f1378841ef362122f9e6706fcba39f55da2a83be0235a65668ddba449610 |