Add the possibility to use a custom method introspector class for any
view. To do so, define a get_method_introspector_class() method in your
view. Exemple:

class UserList(generics.ListCreateAPIView):
    def get_method_introspector_class(self):
            return UserMethodIntrospector

from rest_framework_swagger.introspectors import APIViewMethodIntrospector
class TestMethodIntrospector(APIViewMethodIntrospector):
    def get_parameters(self):
        if self.get_http_method() != 'CUSTOM':
            return super(TestMethodIntrospector, self).get_parameters()

        params = []
        # do something with params
        return params

    def get_response_class(self):
        if self.get_http_method() != 'CUSTOM':
            return super(TestMethodIntrospector, self).get_response_class()

        # return a custom reponse class
        return None