Use drf_yasg to generate swagger

drf_yasg provides more complete swagger output, allowing for generation
of usable clients.

Some custom work was needed to accommodate Netbox's custom field
serializers, and to provide x-nullable attributes where appropriate.
This commit is contained in:
Dave Cameron
2018-02-22 17:46:50 -05:00
parent 24c94957df
commit 634b6cdfb2
5 changed files with 102 additions and 5 deletions

View File

@@ -3,10 +3,10 @@ django-cors-headers>=2.1.0
django-debug-toolbar>=1.9.0
django-filter>=1.1.0
django-mptt>=0.9.0
django-rest-swagger>=2.1.0
django-tables2>=1.19.0
django-timezone-field>=2.0
djangorestframework>=3.7.7
drf-yasg>=1.4.4
graphviz>=0.8.2
Markdown>=2.6.11
natsort>=5.2.0