From 1f090a6c867dbbd6544c1ac45b17dd79f3e95f33 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Tue, 14 Mar 2023 09:32:38 +0100 Subject: [PATCH] chore(release): v5.0.0-next-major-spec.16 (#355) --- package-lock.json | 2 +- package.json | 2 +- schemas/3.0.0.json | 22 +++++++++++++--------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4f8e5bee..cc95585d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/specs", - "version": "5.0.0-next-major-spec.15", + "version": "5.0.0-next-major-spec.16", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 87ccd091..7d96b496 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/specs", - "version": "5.0.0-next-major-spec.15", + "version": "5.0.0-next-major-spec.16", "description": "AsyncAPI schema versions", "main": "index.js", "types": "index.d.ts", diff --git a/schemas/3.0.0.json b/schemas/3.0.0.json index 1a63a6b4..a6eb9b6f 100644 --- a/schemas/3.0.0.json +++ b/schemas/3.0.0.json @@ -5629,7 +5629,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", @@ -5735,14 +5747,6 @@ "$ref": "http://asyncapi.com/definitions/3.0.0/schema.json" }, "description": "JSON objects describing schemas the API uses." - }, - "http://asyncapi.com/definitions/3.0.0/messages.json": { - "$id": "http://asyncapi.com/definitions/3.0.0/messages.json", - "type": "object", - "additionalProperties": { - "$ref": "http://asyncapi.com/definitions/3.0.0/message.json" - }, - "description": "JSON objects describing the messages being consumed and produced by the API." } }, "description": "!!Auto generated!! \n Do not manually edit. "