manosim / django-rest-framework-docs

Document Web APIs made with Django Rest Framework
https://www.drfdocs.com/
BSD 2-Clause "Simplified" License
647 stars 184 forks source link

DRF docs not taking the data fields #167

Open shreyasmrs opened 7 years ago

shreyasmrs commented 7 years ago

Hi I have created api calls for my django server and drf docs is taking the all apis from urls pattern and its functions(GET, POST etc from APIViews). The problem is its not taking any field which needs to be provided to POST data. The data tab is missing in drf docs. Could you please resolve this issue

Thanks in advance image

iamhssingh commented 7 years ago

Hey, @shreyasmrs Have you set up serializer_class = inside your views?