          help_text='must have an A, B, or C followed by 1222'
      )
      decimal1 = serializers.DecimalField(max_digits=6, decimal_places=2)
      decimal2 = serializers.DecimalField(max_digits=5, decimal_places=0,
                                          validators=(DecimalValidator(max_digits=17, decimal_places=4),))
      email = serializers.EmailField(default='foo@bar.com')
      url = serializers.URLField(default='http://www.example.com', allow_null=True)
 
</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             self._map_field_validators(field.validators, schema)
 </s> add             self._map_field_validators(field, schema) </s> remove     def _map_field_validators(self, validators, schema):
 </s> add     def _map_field_validators(self, field, schema):
    lst = serializers.ListField(
        validators=(
            MaxLengthValidator(limit_value=10),
            MinLengthValidator(limit_value=2),
        )
    )
          help_text='must have an A, B, or C followed by 1222'
      )
    lst = serializers.ListField(
        validators=(
            MaxLengthValidator(limit_value=10),
            MinLengthValidator(limit_value=2),
        )
    )
      decimal1 = serializers.DecimalField(max_digits=6, decimal_places=2)
      decimal2 = serializers.DecimalField(max_digits=5, decimal_places=0,
                                          validators=(DecimalValidator(max_digits=17, decimal_places=4),))
      email = serializers.EmailField(default='foo@bar.com')
      url = serializers.URLField(default='http://www.example.com', allow_null=True)
keep add keep keep keep keep keep
 Fixed min/max attributes for serializers.ListField (#6866) 
tests/schemas/views.py