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 619c8c6 commit 8c01429Copy full SHA for 8c01429
tools/spectral/ipa/rulesets/functions/utils/pathUtils.js
@@ -11,4 +11,4 @@ export function isPathParam(str) {
11
const pathParamRegEx = new RegExp(`^{[a-z][a-zA-Z0-9]*}$`);
12
const pathParamWithCustomMethodRegEx = new RegExp(`^{[a-z][a-zA-Z0-9]*}:[a-z][a-zA-Z0-9]*$`);
13
return pathParamRegEx.test(str) || pathParamWithCustomMethodRegEx.test(str);
14
-}
+}
0 commit comments