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
java.lang.IllegalArgumentException: Conflicting setter definitions for property "target": com.commercetools.api.models.review.Review#setTarget(com.commercetools.api.models.channel.ChannelReference) vs com.commercetools.api.models.review.Review#setTarget(java.lang.Object) vs com.commercetools.api.models.review.Review#setTarget(com.commercetools.api.models.product.ProductReference)
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder._selectSetterFromMultiple(POJOPropertyBuilder.java:561) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
at com.fasterxml.jackson.databind.introspect.POJOPropertyBuilder.getSetter(POJOPropertyBuilder.java:492) ~[jackson-databind-2.13.4.2.jar:2.13.4.2]
Stack information (please complete the following information):
Java: 17
SDK: latest
Additional context
remove void setTarget(Object var1) in com.commercetools.api.models.review.Review ?
The text was updated successfully, but these errors were encountered:
This is an issue of the ObjectMapper used by springdoc.
The SDK adds the ApiModule to the ObjectMapper used for De-/Serialization. This includes a ReviewMixin class which helps correctly deserializing the review object.
Describe the bug
Springdoc open api spec fails
To Reproduce
Setup spring app with springdoc
Expected behavior
no error
Screenshots/Code snippet
Stack information (please complete the following information):
Additional context
remove
void setTarget(Object var1)
incom.commercetools.api.models.review.Review
?The text was updated successfully, but these errors were encountered: