From d41ab8199a6af06ab7e5f68f4092ccc0011a358a Mon Sep 17 00:00:00 2001 From: derberg Date: Tue, 10 Oct 2023 17:54:36 +0200 Subject: [PATCH] fix: examples of messages should not follow json schems --- definitions/3.0.0/messageObject.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/definitions/3.0.0/messageObject.json b/definitions/3.0.0/messageObject.json index 69aeafe4..fb3edd44 100644 --- a/definitions/3.0.0/messageObject.json +++ b/definitions/3.0.0/messageObject.json @@ -100,10 +100,11 @@ "description": "A brief summary of the message example." }, "headers": { - "$ref": "http://asyncapi.com/definitions/3.0.0/anySchema.json" + "type": "object", + "description": "Schema definition of the application headers." }, "payload": { - "$ref": "http://asyncapi.com/definitions/3.0.0/anySchema.json" + "description": "Definition of the message payload. It can be of any type" } } }