django-rest-swagger-docstring-ext

Supports docstrings in Django Rest Swagger for versions >2.0 (extended version)


License
MIT
Install
pip install django-rest-swagger-docstring-ext==0.3.0

Documentation

Usage

Add url:

url(r'^docs/', include('django_rest_swagger_docstring.urls', namespace='docs')),

Notes

This is similar to django-rest-swagger's YAML docstrings feature which was deprecated in 2.0.

For the most simple / purely RESTful cases the rest_framework.schemas.SchemaGenerator is sufficient.