                  'type': 'array',
                  'items': {},
              }
              if not isinstance(field.child, _UnvalidatedField):
                  mapping['items'] = self._map_field(field.child)
              return mapping
  
          # DateField and DateTimeField type is string
          if isinstance(field, serializers.DateField):
              return {
 
</s> remove             return self._map_choicefield(field)
 </s> add             return self.map_choicefield(field) </s> remove                 'items': self._map_field(field.child_relation)
 </s> add                 'items': self.map_field(field.child_relation) </s> remove     def _map_field(self, field):
 </s> add     def map_field(self, field): </s> remove                 'items': self._map_serializer(field.child)
 </s> add                 'items': self.map_serializer(field.child) </s> remove                 'items': self._map_choicefield(field)
 </s> add                 'items': self.map_choicefield(field)
                mapping['items'] = self.map_field(field.child)
                  'type': 'array',
                  'items': {},
              }
              if not isinstance(field.child, _UnvalidatedField):
                mapping['items'] = self.map_field(field.child)
              return mapping
  
          # DateField and DateTimeField type is string
          if isinstance(field, serializers.DateField):
              return {
keep keep keep keep replace keep keep keep keep keep
 Convert openapi.AutoSchema methods to public API. 
rest_framework/schemas/openapi.py