              return []
  
          return paginator.get_schema_operation_parameters(view)
  
      def _map_choicefield(self, field):
          choices = list(OrderedDict.fromkeys(field.choices))  # preserve order and remove duplicates
          if all(isinstance(choice, bool) for choice in choices):
              type = 'boolean'
          elif all(isinstance(choice, int) for choice in choices):
              type = 'integer'
 
</s> remove     def _map_field(self, field):
 </s> add     def map_field(self, field): </s> remove                 mapping['items'] = self._map_field(field.child)
 </s> add                 mapping['items'] = self.map_field(field.child) </s> remove     def _map_serializer(self, serializer):
 </s> add     def map_serializer(self, serializer): </s> remove         paginator = self._get_paginator()
 </s> add         paginator = self.get_paginator() </s> remove         for response in inspector._get_responses(path, method).values():
 </s> add         for response in inspector.get_responses(path, method).values():
    def map_choicefield(self, field):
              return []
  
          return paginator.get_schema_operation_parameters(view)
  
    def map_choicefield(self, field):
          choices = list(OrderedDict.fromkeys(field.choices))  # preserve order and remove duplicates
          if all(isinstance(choice, bool) for choice in choices):
              type = 'boolean'
          elif all(isinstance(choice, int) for choice in choices):
              type = 'integer'
keep keep keep keep replace keep keep keep keep keep
 Convert openapi.AutoSchema methods to public API. 
rest_framework/schemas/openapi.py