              if field.default and field.default != empty:  # why don't they use None?!
                  schema['default'] = field.default
              if field.help_text:
                  schema['description'] = str(field.help_text)
              self._map_field_validators(field.validators, schema)
  
              properties[field.field_name] = schema
  
          result = {
              'properties': properties
 
</s> remove                 schema['maxLength'] = v.limit_value
 </s> add                 attr_name = 'maxLength'
                if isinstance(field, serializers.ListField):
                    attr_name = 'maxItems'
                schema[attr_name] = v.limit_value </s> remove                 schema['minLength'] = v.limit_value
 </s> add                 attr_name = 'minLength'
                if isinstance(field, serializers.ListField):
                    attr_name = 'minItems'
                schema[attr_name] = v.limit_value </s> remove         for v in validators:
 </s> add         for v in field.validators: </s> remove     def _map_field_validators(self, validators, schema):
 </s> add     def _map_field_validators(self, field, schema):
            self._map_field_validators(field, schema)
              if field.default and field.default != empty:  # why don't they use None?!
                  schema['default'] = field.default
              if field.help_text:
                  schema['description'] = str(field.help_text)
            self._map_field_validators(field, schema)
  
              properties[field.field_name] = schema
  
          result = {
              'properties': properties
keep keep keep keep replace keep keep keep keep keep
 Fixed min/max attributes for serializers.ListField (#6866) 
rest_framework/schemas/openapi.py