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
Schema generation for polymorphic types where the deserialisation strategy is of JsonTypeInfo.Id.DEDUCTION. Jackson uses a seralization strategy of JsonTypeInfo.Id.EXISTING_PROPERTY with a visibility of false and a null property name when writing polymorphic types such as this. The existing implementation relies on a property name being non-null with it's polymorphic type handling (when writing out the @type or @Class enum within the subtype), which is not appropriate for this particular strategy.
The text was updated successfully, but these errors were encountered:
jcrayner
added a commit
to jcrayner/mbknor-jackson-jsonSchema
that referenced
this issue
Feb 13, 2022
Schema generation for polymorphic types where the deserialisation strategy is of JsonTypeInfo.Id.DEDUCTION. Jackson uses a seralization strategy of JsonTypeInfo.Id.EXISTING_PROPERTY with a visibility of false and a null property name when writing polymorphic types such as this. The existing implementation relies on a property name being non-null with it's polymorphic type handling (when writing out the @type or @Class enum within the subtype), which is not appropriate for this particular strategy.
The text was updated successfully, but these errors were encountered: