Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django swagger

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)
]
Source by django-rest-swagger.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #django #swagger
ADD COMMENT
Topic
Name
4+8 =