title: How to use query parameters in Django Swagger Documentation?
body: <p>Let's assume that we have for example such URL - <code>localhost:8000/object?name=STH</code>. Anyone have an idea how can I display <code>object</code> with <code>name</code> equals <code>STH</code> using Django Swagger Documentation?</p>
  
  <pre><code>class ObjectList(GenericAPIView):
  
      serializer_class = ObjectSerializer
  
      def get(self, request):
          try:
              t = request.GET['sth']
              object = Object.objects.filter(sth=sth)
          except:
              object = Object.objects.all()
          serializer = ObjectSerializer(object, many=True)
          return Response(serializer.data)
  </code></pre>
  
  <p>I am trying in this way but it's not visible in my Swagger:</p>
  
  <p>URL: <code>url(r'^object-data$', views.ObjectList.as_view()),</code></p>
  
  <pre><code>class ObjectList(GenericAPIView):
      serializer_class = ObjectSerializer
      filter_backends = (DjangoFilterBackend, )
      filter_fields = ('sth', )
  </code></pre>
  
  <p>At this moment my Swagger looks as shown below. I would like to have <code>sth</code> instead of <code>pages</code>. I have no idea why it is there.
  <a href="https://i.stack.imgur.com/e42aK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e42aK.png" alt="enter image description here"></a></p>