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.0.0-rc.3 (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-2021.10.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d22b0da7aa87c29980bc58fe078224ecf0222ca5b85f5e76d2ec6231644d4a45 |
|
MD5 | c26eae2df37a543188bba4248b79daf0 |
|
BLAKE2b-256 | 38e7e0b8fc609c005261ea8906778f978e9ed63b5b39ed368d5dc36e5b8831fe |
Hashes for drf_spectacular_sidecar-2021.10.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 883b555a710f8ff9033ad46f24c3b33ff2b8d3f293cabfe05fdc9433f1246e50 |
|
MD5 | 2e7c85df2c64253f051b266f11117032 |
|
BLAKE2b-256 | 2b71983388ea242c4f9796ebc5add6eedc4f3aea9aada6813bcde1c1b3ab4e34 |