From e94c80ad71937a9a9cb9237b6379a4ed27997795 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Tue, 19 Sep 2023 15:01:40 +0200 Subject: [PATCH] feat(monaco-language-apidom): switch to apidom-reference validation Refs #4409 --- .../editor-monaco-language-apidom/language/ApiDOMWorker.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/editor-monaco-language-apidom/language/ApiDOMWorker.js b/src/plugins/editor-monaco-language-apidom/language/ApiDOMWorker.js index 171df947988..7c6d5c2b318 100644 --- a/src/plugins/editor-monaco-language-apidom/language/ApiDOMWorker.js +++ b/src/plugins/editor-monaco-language-apidom/language/ApiDOMWorker.js @@ -16,6 +16,9 @@ export class ApiDOMWorker { maxNumberOfItems: 100, enableLSPFilter: false, // enables "strict" word filtering (instead of default Monaco fuzzy matching; https://github.com/swagger-api/apidom/pull/2954) }, + validationContext: { + referenceValidationMode: apidomLS.ReferenceValidationMode.APIDOM_INDIRECT_EXTERNAL, + }, }; constructor(ctx, createData) {