I use django-rest-framework==3.5.3 and django-rest-swagger==2.1.0. How can I get the response model present in the swagger user interface.
Here http://petstore.swagger.io/#!/pet/findPetsByStatus in the methods of getting we can see the response model.
In my case, there is only an HTTP status code.
Is there a way to achieve this in django-daw-swag?
--- change
I use class based views. And the model demonstrates put, post, patch methods.
source
share