marcgibbons/django-rest-swagger — pull request #137 by peleccom (2014-11-01 13:07:03+00:00)
Title: Unable to read api #84

When you trying to access `self.kwargs` from `get_serializer_class` method exception raised.

Solution is to provide self.kwargs in get_sertializer_class call in `introspectors.py` and `docgenerator.py`.
Values to populate `kwargs` can be extracted from `pattern.default_args`