          """
          if not update_with:
              return fields
  
          by_name = OrderedDict((f.name, f) for f in fields)
          for f in update_with:
              by_name[f.name] = f
          fields = list(by_name.values())
          return fields
  
 
</s> remove     fields = OrderedDict()
 </s> add     fields = {} </s> remove         return OrderedDict(base_fields + fields)
 </s> add         return dict(base_fields + fields) </s> remove         ret = OrderedDict()
        errors = OrderedDict()
 </s> add         ret = {}
        errors = {} </s> remove         api_root_dict = OrderedDict()
 </s> add         api_root_dict = {} </s> remove         errors = OrderedDict()
 </s> add         errors = {}
        by_name = {f.name: f for f in fields}
          """
          if not update_with:
              return fields
  
        by_name = {f.name: f for f in fields}
          for f in update_with:
              by_name[f.name] = f
          fields = list(by_name.values())
          return fields
  
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
rest_framework/schemas/coreapi.py