Serve self-contained distribution builds of Swagger UI and Redoc with Django
Project description
Serve self-contained distribution builds of Swagger UI and Redoc with Django either via runserver or collectstatic.
This Django app is an optional addition to drf-spectacular, but does not depend on it. It may also be used independently.
Swagger UI version 4.10.0 (npm)
This is a self-updating and self-publishing repository that looks for updates once a week. The distribution files are sourced from npm via jsdelivr, validated, packaged and uploaded to PyPI.
Installation
$ pip install drf-spectacular-sidecar
The package needs to be registered to allow Django to discover the static files.
INSTALLED_APPS = [
# ALL YOUR APPS
'drf_spectacular_sidecar',
]
Requirements
Django >= 2.2
Licenses
Provided by T. Franzel. Licensed under 3-Clause BSD.
This package includes distribution builds of
Swagger UI: The original license (Apache 2.0) and copyright apply to those files.
Redoc: The original license (MIT) and copyright apply to those files.
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
Hashes for drf-spectacular-sidecar-2022.3.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 743acf1090c4ab55351e69d1dd1ff50ed1babaeccfeb0661872aabe39c9c8ea0 |
|
MD5 | 093b7b241a7f85355b48b98b84951396 |
|
BLAKE2b-256 | 3d89fa6d9abdf1d140ff1aabd244d94a86a68f18b8ffc0f807612bcc41f66c7e |
Hashes for drf_spectacular_sidecar-2022.3.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b475f1a4cb2313a53edd95f923343dc976220e0b5b888bdbb3f943971eec34 |
|
MD5 | 5ff73709979f75a21e7262e62779d751 |
|
BLAKE2b-256 | a18916cdd2a1c9311aae6520ae0054f8c49ff7028ba78bc7455dc10ff6666309 |