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
This PR comment should point out the issue. Non-required, non-nullable field should not by default assign a null value which should be contradictory to how JSON schema treats non-required field.
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
Dart generator always insert null for non-required non-nullable field if a value is not provided. However, it seems not the specified behaviour.
openapi-generator version
7.5.0
OpenAPI declaration file content or url
Generation Details
java -jar openapi-generator-cli.jar generate -i {input filename} -g dart -o {output directory name}
Steps to reproduce
Generate output with the above code snippet
Related issues/PRs
8002e55
Suggest a fix
This PR comment should point out the issue. Non-required, non-nullable field should not by default assign a null value which should be contradictory to how JSON schema treats non-required field.
The text was updated successfully, but these errors were encountered: