From 36b21ecbe99becf1b7c39f76f8f33f60ae7e630b Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Tue, 3 Oct 2023 16:46:17 +0200 Subject: [PATCH] fix: kafka key can be reference --- bindings/kafka/0.4.0/message.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bindings/kafka/0.4.0/message.json b/bindings/kafka/0.4.0/message.json index 88227378..34b53b9c 100644 --- a/bindings/kafka/0.4.0/message.json +++ b/bindings/kafka/0.4.0/message.json @@ -11,7 +11,14 @@ }, "properties": { "key": { - "$ref": "http://asyncapi.com/definitions/3.0.0/schema.json", + "oneOf": [ + { + "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" + }, + { + "$ref": "http://asyncapi.com/definitions/3.0.0/schema.json", + } + ] "description": "The message key." }, "schemaIdLocation": {