All notes
Res

Swagger

readthedocs.


pip install django-rest-swagger

# Add 'rest_framework_swagger' to INSTALLED_APPS in Django settings.

from django.conf.urls import url
from rest_framework_swagger.views import get_swagger_view

schema_view = get_swagger_view(title='Pastebin API')

urlpatterns = [
    url(r'^$', schema_view)
]