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
If you take the following array:
[ {"id": 1, "name" : "test", "tags" : ["tag1", "tag2"]}, {"id":2, "name":"test2", "tags":null}]
it fails on decode with the error: Expected to decode Array but found a null value instead.
the "tags" element is correctly defined in the model as [String]? and the swagger document shows it is nullable.
It its possible to get around this by using the SafeOptionalDecoding:true option, but I would not have expected that to be required.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you take the following array:
[ {"id": 1, "name" : "test", "tags" : ["tag1", "tag2"]}, {"id":2, "name":"test2", "tags":null}]
it fails on decode with the error:
Expected to decode Array but found a null value instead.
the "tags" element is correctly defined in the model as [String]? and the swagger document shows it is nullable.
It its possible to get around this by using the SafeOptionalDecoding:true option, but I would not have expected that to be required.
The text was updated successfully, but these errors were encountered: