You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error "items MUST be present if the type is array" is returned since openApi 3.1, for nullable arrays, as the type is now an array.
if (! isset($this->parentSchema->type) || ($this->parentSchema->type !== 'array')) {
thrownewInvalidSchema(sprintf('items MUST be present if the type is array'));
}
The value of $this->parentSchema->type can be an array with :
"array"
"null"
The text was updated successfully, but these errors were encountered:
The error "
items MUST be present if the type is array
" is returned since openApi 3.1, for nullable arrays, as the type is now an array.The value of
$this->parentSchema->type
can be an array with :The text was updated successfully, but these errors were encountered: