class MyViewSet(viewsets.ViewSet):
    filter_backends = SimpleFilterBackend,

def list(self, request, *args, **kwargs):
    return Response({'hello': 'world'}, status.HTTP_200_OK)
How to show query parameter options in Django REST Framework - Swagger