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
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
The generator produces invalid Dart code for nullable Map properties, causing compilation errors in serialization methods (ToJson) when using json_serializable.
Bug Report Checklist
Description
The generator produces invalid Dart code for nullable Map properties, causing compilation errors in serialization methods (ToJson) when using json_serializable.
openapi-generator version
7.10.0
OpenAPI declaration file content or url
Steps to reproduce
Generated model ToJson code will look like that, while getting the following compilation error:
Suggest a fix
Looks like it is caused by latest update of json_serializable since its version isn't enforced.
The text was updated successfully, but these errors were encountered: