title: How to tag whole ViewSet in drf_yasg?
body: <p>I have the following ViewSet:</p>
  <pre class="lang-py prettyprint-override"><code>class AuthorViewSet(viewsets.ModelViewSet):
      queryset = Author.objects.all()
      serializer_class = AuthorSerializer
      permission_classes = [permissions.AllowAny]
  
      # note that no methods are overridden
  </code></pre>
  <p>I want <code>drf_yasg</code> to generate custom schema such that all action methods will be tagged as <code>Authors</code>.</p>
  <p>The documentation says that my options are to either decorate each method by declaring it and using <code>@swagger_auto_schema</code> like so:</p>
  <pre class="lang-py prettyprint-override"><code>class AuthorViewSet(viewsets.ModelViewSet):
      # ...
      @swagger_auto_schema(tags=[&quot;Authors&quot;])
      def list(self, request, *args, **kwargs):
          return super().list(request, *args, **kwargs)
  </code></pre>
  <p>Or use Django's <code>@method_decorator</code> like so:</p>
  <pre class="lang-py prettyprint-override"><code>@method_decorator(name=&quot;list&quot;, decorator=swagger_auto_schema(tags=[&quot;Authors&quot;]))
  class AuthorViewSet(viewsets.ModelViewSet):
      # ...
  </code></pre>
  <p>Both options require tedious repetition which I would like to avoid.</p>
  <p>I've also tried to implement my own decorator:</p>
  <pre class="lang-py prettyprint-override"><code>def decorate_viewset_methods(names, decorator):
      if names == &quot;__all__&quot;:
          names = [
              &quot;create&quot;,
              &quot;retrieve&quot;,
              &quot;update&quot;,
              &quot;partial_update&quot;,
              &quot;destroy&quot;,
              &quot;list&quot;,
          ]
  
      def decorate(cls):
          for name in names:
              method = getattr(cls, name)
              setattr(cls, name, decorator(method))
          return cls
  
      return decorate
  </code></pre>
  <p>But it didn't quite work out.</p>
  <p>So my question is how can I decorate all action methods at once?</p>