title: drf spectacular not showing query params in swagger ui
body: <p>I have generic ListAPIView with following list request function. Here category is a query parameter. I am trying to achieve such that the swagger ui also shows the query parameter in the swagger ui doc. How to achieve this? I have the following code.</p>
  <pre><code>@extend_schema(
      parameters=[
          OpenApiParameter(name='category',location=OpenApiParameter.QUERY, description='Category Id', required=False, type=int),
      ],
  )
  def list(self, request, *args, **kwargs):
      category_id = request.query_params.get('category')
      ....
      return Response(data)
  </code></pre>