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
Seems similar to what's been reported in #20513 for kotlin. But in combination with #19578 introduced in 7.11.0 there is significant impact as it causes jackson validation errors at runtime.
The text was updated successfully, but these errors were encountered:
Description
Required fields that are specified in a oneOf are currently generated as required in the @JsonCreator constructor.
This incorrectly results in jackson MismatchedInputException when deserializing a valid json.
openapi-generator version
7.11.0
OpenAPI declaration file content or url
Generates
Related issues/PRs
Seems similar to what's been reported in #20513 for kotlin. But in combination with #19578 introduced in 7.11.0 there is significant impact as it causes jackson validation errors at runtime.
The text was updated successfully, but these errors were encountered: