Django swagger UI is a viewer for Swagger YAML files as html. based on swagger-yaml-to-html.py.
Quick start
Add “swagger_ui” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'swagger_ui', ... ]Include the swagger ui URLconf in your project urls.py like this:
path('', include('swagger_ui.urls')),Add this variable SWAGGER_YAML_FILE to settings.py pointing to your YAML file
You will find the swagger api documentation in /api-doc/.
Metadata
Release files for django-swagger-ui 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-swagger-ui-0.1.11.tar.gz | 380.8 kB | Details |
Release files / django-swagger-ui-0.1.11.tar.gz
| Download URL | django-swagger-ui-0.1.11.tar.gz |
|---|---|
| Size | 380.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97d2a092a76878c3ebfe92c24fa5c4eae815f2a4aa12872600a27206a98ab3a8
|
|
BLAKE2b-256 checksum How to use checksums |
5bedd0a563f71ccb9f40108b5540958d68e6601d7dc6bc64da554580ae3d1a69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|