File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/apidom-ls/src/config/openapi/paths/lint Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import keysPatternLint from './keys--pattern' ;
2
2
import valuesTypeLint from './values--type' ;
3
3
4
- const lints = [ keysPatternLint , valuesTypeLint ] ;
4
+ const lints = [ valuesTypeLint , keysPatternLint ] ;
5
5
6
6
export default lints ;
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import { LinterMeta } from '../../../../apidom-language-types';
4
4
const keysPatternLint : LinterMeta = {
5
5
code : ApilintCodes . OPENAPI_3_0_PATHS_KEYS_PATTERN ,
6
6
source : 'apilint' ,
7
- message : 'Paths Object keys must match the regular expression: `^/.*$ `' ,
7
+ message : 'Paths Object keys must match the regular expression: `^/`' ,
8
8
severity : 1 ,
9
- linterFunction : 'apilintMembersKeysRegex ' ,
10
- linterParams : [ '^\\/.*$ ' ] ,
9
+ linterFunction : 'apilintKeysRegex ' ,
10
+ linterParams : [ '^/ ' ] ,
11
11
marker : 'key' ,
12
12
data : { } ,
13
13
} ;
You can’t perform that action at this time.
0 commit comments