  
      def _map_field_validators(self, validators, schema):
          """
          map field validators
          :param list:validators: list of field validators
          :param dict:schema: schema that the validators get added to
          """
          for v in validators:
              # "Formats such as "email", "uuid", and so on, MAY be used even though undefined by this specification."
              # https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#data-types
              if isinstance(v, EmailValidator):
 
</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): </s> remove             self._map_field_validators(field.validators, schema)
 </s> add             self._map_field_validators(field, schema) </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
  
      def _map_field_validators(self, validators, schema):
          """
          map field validators


          """
          for v in validators:
              # "Formats such as "email", "uuid", and so on, MAY be used even though undefined by this specification."
              # https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#data-types
              if isinstance(v, EmailValidator):
keep keep keep keep replace replace keep keep keep keep keep
 Fixed min/max attributes for serializers.ListField (#6866) 
rest_framework/schemas/openapi.py