We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb725df commit 4663344Copy full SHA for 4663344
packages/apidom-ls/src/config/openapi/parameter/lint/$ref-3-0--parameter.ts
@@ -13,7 +13,13 @@ const $ref3ParameterNamingLint: LinterMeta = {
13
linterParams: ['^(.*#/components/parameters).*$'],
14
marker: 'value',
15
target: '$ref',
16
- targetFields: true,
+ conditions: [
17
+ {
18
+ targets: [{ path: '$ref' }],
19
+ function: 'parentExistFields',
20
+ params: [['paths']],
21
+ },
22
+ ],
23
data: {},
24
targetSpecs: OpenAPI3,
25
};
0 commit comments