Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Add application/vnd.api+json as a valid JSON mime to editorutils

Andrew Bastin4be1e527fcb4
diff --git a/helpers/editorutils.js b/helpers/editorutils.js
index 32b0ef360..0955bbf37 100644
--- a/helpers/editorutils.js
+++ b/helpers/editorutils.js
@@ -3,6 +3,7 @@ const mimeToMode = {
"text/html": "html",
"application/xml": "xml",
"application/hal+json": "json",
+ "application/vnd.api+json": "json",
"application/json": "json",
}