From 52b4cbe99b4d1247aa1a5e04f766b26fd61d8c0d Mon Sep 17 00:00:00 2001 From: Dale Lane Date: Tue, 14 Dec 2021 14:05:29 +0000 Subject: [PATCH] chore: add mime types for new asyncapi version Contributes to: asyncapi/spec#675 Signed-off-by: Dale Lane --- lib/asyncapiSchemaFormatParser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/asyncapiSchemaFormatParser.js b/lib/asyncapiSchemaFormatParser.js index 07f125d9f..c26107b57 100644 --- a/lib/asyncapiSchemaFormatParser.js +++ b/lib/asyncapiSchemaFormatParser.js @@ -47,12 +47,15 @@ function getMimeTypes() { 'application/vnd.aai.asyncapi;version=2.0.0', 'application/vnd.aai.asyncapi;version=2.1.0', 'application/vnd.aai.asyncapi;version=2.2.0', + 'application/vnd.aai.asyncapi;version=2.3.0', 'application/vnd.aai.asyncapi+json;version=2.0.0', 'application/vnd.aai.asyncapi+json;version=2.1.0', 'application/vnd.aai.asyncapi+json;version=2.2.0', + 'application/vnd.aai.asyncapi+json;version=2.3.0', 'application/vnd.aai.asyncapi+yaml;version=2.0.0', 'application/vnd.aai.asyncapi+yaml;version=2.1.0', 'application/vnd.aai.asyncapi+yaml;version=2.2.0', + 'application/vnd.aai.asyncapi+yaml;version=2.3.0', 'application/schema;version=draft-07', 'application/schema+json;version=draft-07', 'application/schema+yaml;version=draft-07',