From 1a76049799776f222bb780af8fda926bdd168288 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Tue, 18 Oct 2022 09:01:13 +0200 Subject: [PATCH] fix(ls): fix OpenAPI 3.x.y Example Obj mutually exclusive lint rule Refs #2141 --- .../config/openapi/example/lint/value--mutually-exclusive.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/apidom-ls/src/config/openapi/example/lint/value--mutually-exclusive.ts b/packages/apidom-ls/src/config/openapi/example/lint/value--mutually-exclusive.ts index 82b713ca15..e75c1e3081 100644 --- a/packages/apidom-ls/src/config/openapi/example/lint/value--mutually-exclusive.ts +++ b/packages/apidom-ls/src/config/openapi/example/lint/value--mutually-exclusive.ts @@ -7,10 +7,8 @@ const valueMutuallyExclusiveLint: LinterMeta = { message: 'The value field and externalValue field are mutually exclusive.', severity: 1, linterFunction: 'allowedFields', - linterParams: [['value']], + linterParams: [['summary', 'description', 'externalValue'], 'x-'], marker: 'key', - target: 'value', - data: {}, conditions: [ { function: 'existFields',