dsu
django-swagger-ui
pypi i django-swagger-ui
dsu

django-swagger-ui

Django swagger UI is a viewer for Swagger YAML files as html.

by Assem Chelli

0.1.11 (see all)License:BSD License
pypi i django-swagger-ui
Readme

=================

Django Swagger UI

Django swagger UI is a viewer for Swagger YAML files as html. based on swagger-yaml-to-html.py <https://gist.github.com/oseiskar/dbd51a3727fc96dcf5ed189fca491fb3>_.

Quick start

  1. Add "swagger_ui" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'swagger_ui', ... ]

  2. Include the swagger ui URLconf in your project urls.py like this::

    path('', include('swagger_ui.urls')),

  1. Add this variable SWAGGER_YAML_FILE to settings.py pointing to your YAML file
  1. You will find the swagger api documentation in /api-doc/.

.. image:: screenshots/1.png

GitHub Stars

23

LAST COMMIT

10mos ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

4

OPEN PRs

1
VersionTagPublished
0.1.11
4yrs ago
0.1.10
4yrs ago
0.1.9
4yrs ago
0.1.8
4yrs ago
No alternatives found
No tutorials found
Add a tutorial