marcgibbons/django-rest-swagger — pull request #70 by ckirby (2014-03-06 22:36:33+00:00)
Title: Use class __doc__ when there is no method __doc__

Using the simple implementation of ViewSets in rest-framework (like in he docs) results in every endpoint for a given route having the same docstring. This change looks for a docstring in the originating class of a method when a method does not have a docstring. It correctly pulls the appropriate mixin docsting for ViewSets endpoints.