title: Django rest swagger post parameter not getting displayed on Swagger docs
body: <p>I have integrated swagger with django rest framework, but the swagger docs does not create a input box to post data for post request. </p>
  
  <p>My settings for parser,</p>
  
  <pre><code>REST_FRAMEWORK = {
  'DEFAULT_PARSER_CLASSES': (
      'rest_framework.parsers.JSONParser',
      'rest_framework.parsers.FormParser',
      'rest_framework.parsers.MultiPartParser',
  ),
  </code></pre>
  
  <p>}</p>
  
  <p>Here is my view class snippet,`</p>
  
  <pre><code>class TeamViewList(APIView, BaseView):
  """
      Class based view to handle all operations related to Team Model
  """
  logger = logging.getLogger(__name__)
  
  def get_serializer(self):
      return serializers.TeamSerializer
  
  def post(self, request):
      """
      To create a new  team
      """
      try:
  </code></pre>
  
  <p>urlmapping:</p>
  
  <pre><code>urlpatterns = [
  url(r'^role/$', rest_views.UserTeamRoleView.as_view(), name='user_team_role'),
  url(r'^teams/$', rest_views.TeamViewList.as_view(), name='team_list'),
  url(r'^teams/(?P&lt;name&gt;[_a-zA-Z0-9\-]+)$', rest_views.TeamViewDetail.as_view(), name='team_detail'),
  </code></pre>
  
  <p>]</p>
  
  <p>And my swagger doc generates,
  <a href="https://i.stack.imgur.com/rlVyv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rlVyv.png" alt="enter image description here"></a></p>
  
  <p>There is no way to pass the json payload as input to post request.</p>