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
In OpenAPI v3.1 the nullable property was replaced with a "typed array",
that is an array that can either be of type T or null.
To make the minimal amount of changes this commit converts a type array
back into what a 3.0 parser would expect.
Closesacacode#991
I have an object with the following (non-required) property defined in the schema (OpenAPI 3.1.0):
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.
The text was updated successfully, but these errors were encountered: