  
          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'
          elif all(isinstance(choice, (int, float, Decimal)) for choice in choices):  # `number` includes `integer`
 
</s> remove     ret = OrderedDict()
 </s> add     ret = {} </s> remove                 return OrderedDict()
 </s> add                 return {} </s> remove             return OrderedDict([
                (field_name, field.get_value(self.initial_data))
 </s> add             return {
                field_name: field.get_value(self.initial_data) </s> remove             ]),
 </s> add             }, </s> remove     fields = OrderedDict()
 </s> add     fields = {}
        choices = list(dict.fromkeys(field.choices))  # preserve order and remove duplicates
  
          return paginator.get_schema_operation_parameters(view)
  
      def map_choicefield(self, field):
        choices = list(dict.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'
          elif all(isinstance(choice, (int, float, Decimal)) for choice in choices):  # `number` includes `integer`
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/schemas/openapi.py