Skip to content

Commit 33b21c5

Browse files
committed
[Fix #558] ProduceEvent.data shoud be an object, not only a string
Signed-off-by: fjtirado <ftirados@redhat.com>
1 parent 60114f3 commit 33b21c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api/src/main/resources/schema/produce/produceevent.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"minLength": 1
99
},
1010
"data": {
11-
"type": "string",
12-
"description": "Workflow expression which selects parts of the states data output to become the data of the produced event"
11+
"type": "object",
12+
"description": "Workflow expression which selects parts of the states data output to become the data of the produced event",
13+
"existingJavaType": "com.fasterxml.jackson.databind.JsonNode"
1314
},
1415
"contextAttributes": {
1516
"type": "object",

0 commit comments

Comments
 (0)