From 039652401db6890b778f0e259aa45a4edf9445ef Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Mon, 11 Mar 2024 01:30:31 +0400 Subject: [PATCH] fix: AsyncAPI v3 shows warning in Studio and IntelliJ plugin when referencing a a json schema Change allOf to anyOf in multiFormatSchema https://github.com/asyncapi/spec-json-schemas/issues/494 https://github.com/asyncapi/jasyncapi-idea-plugin/issues/49 --- schemas/3.0.0-without-$id.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/3.0.0-without-$id.json b/schemas/3.0.0-without-$id.json index 87306fe9..2df4fb69 100644 --- a/schemas/3.0.0-without-$id.json +++ b/schemas/3.0.0-without-$id.json @@ -2702,7 +2702,7 @@ "description": "Definition of the message payload. It can be of any type but defaults to Schema Object. It MUST match the schema format defined in schemaFormat, including the encoding type. E.g., Avro should be inlined as either a YAML or JSON object instead of as a string to be parsed as YAML or JSON. Non-JSON-based schemas (e.g., Protobuf or XSD) MUST be inlined as a string." } }, - "allOf": [ + "anyOf": [ { "if": { "not": {