You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/10/14 08:43:21 UTC

(camel) branch main updated: Fix Jackson polymorphic ser/de by always using a JSON-only property (#15924)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 27d5deec738 Fix Jackson polymorphic ser/de by always using a JSON-only property (#15924)
27d5deec738 is described below

commit 27d5deec738df3ff83ef416822449ba40bf00ada
Author: nickshoe <32...@users.noreply.github.com>
AuthorDate: Mon Oct 14 10:43:15 2024 +0200

    Fix Jackson polymorphic ser/de by always using a JSON-only property (#15924)
---
 .../src/main/java/org/apache/camel/component/clickup/model/Event.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-clickup/src/main/java/org/apache/camel/component/clickup/model/Event.java b/components/camel-clickup/src/main/java/org/apache/camel/component/clickup/model/Event.java
index d0d8be246ef..75d3cde391c 100644
--- a/components/camel-clickup/src/main/java/org/apache/camel/component/clickup/model/Event.java
+++ b/components/camel-clickup/src/main/java/org/apache/camel/component/clickup/model/Event.java
@@ -21,7 +21,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 import com.fasterxml.jackson.annotation.JsonSubTypes;
 import com.fasterxml.jackson.annotation.JsonTypeInfo;
 
-@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "event", visible = true)
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "event")
 @JsonSubTypes({
         @JsonSubTypes.Type(value = TaskTimeTrackedUpdatedEvent.class, name = Events.TASK_TIME_TRACKED_UPDATED)
 })