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
When using schema with property type discriminator, there is a JsonIgnoreProperties added to generated class. Example
@JsonIgnoreProperties(
value = "paymentRequestType",
allowSetters = true
)
Due to missing allowGetters = true when serializing / deserializing a list of objects with such annotation, discriminator property is skipped during serialization and therefore it cannot be deserialized to proper type.
The text was updated successfully, but these errors were encountered:
When using schema with property type discriminator, there is a JsonIgnoreProperties added to generated class. Example
Due to missing
allowGetters = true
when serializing / deserializing a list of objects with such annotation, discriminator property is skipped during serialization and therefore it cannot be deserialized to proper type.The text was updated successfully, but these errors were encountered: