          assert properties['string']['minLength'] == 2
          assert properties['string']['maxLength'] == 10
  
          assert properties['regex']['pattern'] == r'[ABC]12{3}'
          assert properties['regex']['description'] == 'must have an A, B, or C followed by 1222'
  
          assert properties['decimal1']['type'] == 'number'
          assert properties['decimal1']['multipleOf'] == .01
 
</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                 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         for v in validators:
 </s> add         for v in field.validators: </s> remove         :param list:validators: list of field validators
        :param dict:schema: schema that the validators get added to
 </s> add 
        assert properties['lst']['minItems'] == 2
        assert properties['lst']['maxItems'] == 10

          assert properties['string']['minLength'] == 2
          assert properties['string']['maxLength'] == 10
  
        assert properties['lst']['minItems'] == 2
        assert properties['lst']['maxItems'] == 10

          assert properties['regex']['pattern'] == r'[ABC]12{3}'
          assert properties['regex']['description'] == 'must have an A, B, or C followed by 1222'
  
          assert properties['decimal1']['type'] == 'number'
          assert properties['decimal1']['multipleOf'] == .01
keep keep add keep keep keep keep keep
 Fixed min/max attributes for serializers.ListField (#6866) 
tests/schemas/test_openapi.py