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 38a208242b
commit b83de7eb11
5 changed files with 102 additions and 5 deletions

View File

@@ -1,2 +1,3 @@
django-rest-swagger
psycopg2
pycrypto