From 391a3f7642d5a0faf4fc3b7faa1586d97948d337 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Mon, 29 Apr 2024 13:51:31 +0200 Subject: [PATCH] fix(ls): fix JSON Schema deprecated--type lint rule --- .../apidom-ls/src/config/common/schema/lint/deprecated--type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apidom-ls/src/config/common/schema/lint/deprecated--type.ts b/packages/apidom-ls/src/config/common/schema/lint/deprecated--type.ts index ddf19458a4..0c68afdf65 100644 --- a/packages/apidom-ls/src/config/common/schema/lint/deprecated--type.ts +++ b/packages/apidom-ls/src/config/common/schema/lint/deprecated--type.ts @@ -7,7 +7,7 @@ import { OpenAPI3 } from '../../../openapi/target-specs'; const deprecatedTypeLint: LinterMeta = { code: ApilintCodes.SCHEMA_READONLY, - source: 'deprecated', + source: 'apilint', message: 'deprecated must be a boolean', severity: DiagnosticSeverity.Error, linterFunction: 'apilintType',