  class AutoSchema(ViewInspector):
  
      request_media_types = []
      response_media_types = []
  
      method_mapping = {
          'get': 'Retrieve',
 
</s>
    def __init__(self, tags=None):
        if tags and not all(isinstance(tag, str) for tag in tags):
            raise ValueError('tags must be a list or tuple of string.')
        self._tags = tags
        super().__init__()

  class AutoSchema(ViewInspector):
  
    def __init__(self, tags=None):
        if tags and not all(isinstance(tag, str) for tag in tags):
            raise ValueError('tags must be a list or tuple of string.')
        self._tags = tags
        super().__init__()

      request_media_types = []
      response_media_types = []
  
      method_mapping = {
          'get': 'Retrieve',
keep add keep keep keep keep keep
 Added OpenAPI tags to schemas.  (#7184)
rest_framework/schemas/openapi.py