Skip to content

Commit 8766e6a

Browse files
authored
Rename parameter 'path' to 'jsonPath'
1 parent a3c1bb9 commit 8766e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/spectral/ipa/rulesets/functions/utils/collectionUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function collectAdoption(jsonPath, ruleName) {
3737
* Collects an exception entry.
3838
*
3939
* @param object the object to evaluate
40-
* @param {Array<string>} path - The JSON path for the object where the rule exception occurred.
40+
* @param {Array<string>} jsonPath - The JSON path array for the object where the rule violation occurred. Example: ["paths","./pets","get"]
4141
* @param {string} ruleName - The name of the rule that the exception is defined for.
4242
*/
4343
export function collectException(object, ruleName, jsonPath) {

0 commit comments

Comments
 (0)