watson-developer-cloud / java-sdk

:1st_place_medal: Java SDK to use the IBM Watson services.
http://watson-developer-cloud.github.io/java-sdk/
Apache License 2.0
594 stars 532 forks source link

Deserialization target class for discriminator value: search #1204

Closed kevinkowa closed 8 months ago

kevinkowa commented 2 years ago

Overview Calling log functions that contain both v1 & v2 responses causes an error if it contains an output type not available in v1 such as search which is not available in v1. This creates an issue with the de-serialization of the object since that is not available in v1.

RuntimeResponseGenericRuntimeResponseTypeSearch is not available in Assistant v1.

Follow up for https://github.com/IBM/java-sdk-core/issues/167

apaparazzi0329 commented 8 months ago

Closing due to age. If this is still an issue please feel free to reopen this issue and I will address it promptly