From 74a5a4d1486eaea3ac3ed3c60f1c6e5dce18b8ef Mon Sep 17 00:00:00 2001 From: "jonas-lt@live.dk" Date: Wed, 22 Feb 2023 20:05:22 +0100 Subject: [PATCH] fix --- definitions/3.0.0/components.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/definitions/3.0.0/components.json b/definitions/3.0.0/components.json index f7c7a7d1..b4af5e44 100644 --- a/definitions/3.0.0/components.json +++ b/definitions/3.0.0/components.json @@ -21,7 +21,19 @@ "$ref": "http://asyncapi.com/definitions/3.0.0/serverVariables.json" }, "messages": { - "$ref": "http://asyncapi.com/definitions/3.0.0/messages.json" + "type": "object", + "patternProperties": { + "^[\\w\\d\\.\\-_]+$": { + "oneOf": [ + { + "$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json" + }, + { + "$ref": "http://asyncapi.com/definitions/3.0.0/messageObject.json" + } + ] + } + } }, "securitySchemes": { "type": "object",