              mapping = {
                  'type': 'array',
                  'items': {},
              }
  
          # DateField and DateTimeField type is string
          if isinstance(field, serializers.DateField):
              return {
                  'type': 'string',
 
</s> remove             return {
 </s> add             mapping = { </s> remove from rest_framework.fields import empty
 </s> add from rest_framework.fields import _UnvalidatedField, empty
            if not isinstance(field.child, _UnvalidatedField):
                mapping['items'] = {
                    "type": self._map_field(field.child).get('type')
                }
            return mapping
              mapping = {
                  'type': 'array',
                  'items': {},
              }
            if not isinstance(field.child, _UnvalidatedField):
                mapping['items'] = {
                    "type": self._map_field(field.child).get('type')
                }
            return mapping
  
          # DateField and DateTimeField type is string
          if isinstance(field, serializers.DateField):
              return {
                  'type': 'string',
keep keep keep add keep keep keep keep keep
 Added mapping of ListField.child type for OpenAPI Schemas. 
rest_framework/schemas/openapi.py