Open
Description
I have an object with the following (non-required) property defined in the schema (OpenAPI 3.1.0):
"foos": {
"type": ["array", "null"],
"items": {
"$ref": "#/components/schemas/Foo"
}
}
On 13.0.22, this generates: foos?: any[] | null
I would instead expect: foos?: Foo[] | null
The same thing happens if the property is required, as well. If I make it non-nullable, it works as expected.
Metadata
Metadata
Assignees
Labels
No labels