From 5c8bd0c965fe26885449fc5e103e63d327e16634 Mon Sep 17 00:00:00 2001 From: Sergio Moya <1083296+smoya@users.noreply.github.com> Date: Tue, 15 Mar 2022 18:38:29 +0100 Subject: [PATCH] chore: add 2.4.0 mime types --- lib/asyncapiSchemaFormatParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/asyncapiSchemaFormatParser.js b/lib/asyncapiSchemaFormatParser.js index df412c5ff..c303f5f16 100644 --- a/lib/asyncapiSchemaFormatParser.js +++ b/lib/asyncapiSchemaFormatParser.js @@ -48,7 +48,7 @@ function getMimeTypes() { 'application/schema+json;version=draft-07', 'application/schema+yaml;version=draft-07', ]; - ['2.0.0', '2.1.0', '2.2.0', '2.3.0'].forEach(version => { + ['2.0.0', '2.1.0', '2.2.0', '2.3.0', '2.4.0'].forEach(version => { mimeTypes.push( `application/vnd.aai.asyncapi;version=${version}`, `application/vnd.aai.asyncapi+json;version=${version}`,