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
Generating dart code from a swagger json that has a uniqueItems attribute set to true for a List automatically converts it to a Set while parsing.
But the parsing fails because a json List is not a Set.
Description of the bug
Generating dart code from a swagger json that has a
uniqueItems
attribute set to true for a List automatically converts it to a Set while parsing.But the parsing fails because a json List is not a Set.
this part gets a json parsing like that:
because the returned Json is never a Set, the result is always empty.
Steps to reproduce
minimal json:
Annotation:
Expected behavior
The parsing is done as a List and converted to a Set afterwards.
Logs
No response
Screenshots
No response
Platform
macOS
Library version
4.12.0
Flutter version
3.13.4
Flutter channel
stable
Additional context
No response
The text was updated successfully, but these errors were encountered: