We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got this kind of property on my object
permissions: type: - array items: enum: - DEBUG - EDIT type: string
it end up being generated as
permissions: any[];
but when i change it to
permissions: type: array items: enum: - DEBUG - EDIT type: string
it suddenly works and generates as
permissions: ("DEBUG" | "EDIT")[];
Happens with objects as well not just enums.
And it happens with json format as well there it works with "type":"array" and does not with "type":["array"]
"type":"array"
"type":["array"]
Its needed for nullable arrays for example "type":["array","null"] since nullable has been removed with 3.1
"type":["array","null"]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got this kind of property on my object
it end up being generated as
but when i change it to
it suddenly works and generates as
Happens with objects as well not just enums.
And it happens with json format as well there it works with
"type":"array"
and does not with"type":["array"]
Its needed for nullable arrays for example
"type":["array","null"]
since nullable has been removed with 3.1The text was updated successfully, but these errors were encountered: