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 5.17.14 (npm)
This is a self-updating and self-publishing repository that looks for updates on the 1st of every month. 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
File details
Details for the file drf_spectacular_sidecar-2024.11.1.tar.gz
.
File metadata
- Download URL: drf_spectacular_sidecar-2024.11.1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcfccc72cbdbe41e93f8416fa0c712d14126b8d1629e65c09c07c8edea24aad0 |
|
MD5 | 4fa3e05c7d9bda7d9319a6e288f78d7e |
|
BLAKE2b-256 | 648bd7ae067ab4f27bd703da746d7fff31761b6e83931bfd7fd7b4749d78a705 |
File details
Details for the file drf_spectacular_sidecar-2024.11.1-py3-none-any.whl
.
File metadata
- Download URL: drf_spectacular_sidecar-2024.11.1-py3-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2efd49c5bd1a607fd5d120d9da58d78e587852db8220b8880282a849296ff83 |
|
MD5 | 7adea81b475c88babe5ec227ddf7de42 |
|
BLAKE2b-256 | 54d738f2446330b78e4da4bc270fd2b46858b15203d68ab02b23982a50e6f0a6 |