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.19.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-2023.6.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c7de9c5a9f0c453e31c1d4db9ecd310360b315bb8bf55540056109500a3c819 |
|
MD5 | 96f95563bccbc2c6f9a89598085b4b19 |
|
BLAKE2b-256 | c663953c5fdace65236b8a441cabc4575ab0b792693232362bef43ee5a2ea4e1 |
Hashes for drf_spectacular_sidecar-2023.6.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e3e6842d8ddccc7ca64c8198f37a3e146dd863c5e2d1b6c86d965ba168e3b5a |
|
MD5 | 56b0aa0eb004887e1172d29b134c0c30 |
|
BLAKE2b-256 | a13a414ec9f817031c8619abc46c3bc24c3126bccd7e7fad3c49f50d0f2a0e18 |