Skip to content

Commit e7b9a6d

Browse files
feat(ls): Improve syntax
Co-authored-by: robert-hebel-sb <[email protected]>
1 parent 41d1439 commit e7b9a6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/apidom-ls/src/config/openapi/path-template/lint/value--equivalent-not-allowed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { OpenAPI2 } from '../../target-specs.ts';
77
const valueEquivalentNotAllowedLint: LinterMeta = {
88
code: ApilintCodes.OPENAPI2_PATH_TEMPLATE_EQUIVALENT_NOT_ALLOWED,
99
source: 'apilint',
10-
message: 'Equivalent paths are not allowed.',
10+
message: 'Equivalent paths are not allowed',
1111
severity: DiagnosticSeverity.Error,
1212
linterFunction: 'apilintOpenAPIPathTemplateNoEquivalent',
1313
marker: 'value',
14-
targetSpecs: [...OpenAPI2],
14+
targetSpecs: OpenAPI2,
1515
};
1616

1717
export default valueEquivalentNotAllowedLint;

0 commit comments

Comments
 (0)