From 0a4fc0adc2c7ca7dc85fe5a271cf78f2ec36bc25 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 16 Sep 2026 10:06:15 -0400 Subject: [PATCH] feat: adds the default openapi file match for the JSON extension (#336273) * feat: adds the default openapi file match for the JSON extension * feat: adds the trusted domain * chore: cleans up yaml entries * update --------- Co-authored-by: Martin Aeschlimann --- .../json-language-features/package.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/extensions/json-language-features/package.json b/extensions/json-language-features/package.json index 44735c2b620f..bde2107a3dde 100644 --- a/extensions/json-language-features/package.json +++ b/extensions/json-language-features/package.json @@ -135,6 +135,7 @@ "https://raw.githubusercontent.com/devcontainers/spec/": true, "https://www.schemastore.org/": true, "https://json.schemastore.org/": true, + "https://spec.openapis.org/": true, "https://json-schema.org/": true, "https://developer.microsoft.com/json-schemas/": true }, @@ -172,6 +173,24 @@ { "fileMatch": "*.schema.json", "url": "http://json-schema.org/draft-07/schema#" + }, + { + "fileMatch": "arazzo.json", + "url": "https://www.schemastore.org/openapi-arazzo-1.X.json" + }, + { + "fileMatch": [ + "openapi.json", + "*.openapi.json" + ], + "url": "https://www.schemastore.org/openapi-3.X.json" + }, + { + "fileMatch": [ + "overlay.json", + "*.overlay.json" + ], + "url": "https://www.schemastore.org/openapi-overlay-1.X.json" } ], "jsonValidationRegistry": [