Skip to content

Commit a3c1bb9

Browse files
authored
Rename parameter 'path' to 'jsonPath'
1 parent 6f6bc0b commit a3c1bb9

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
@@ -26,7 +26,7 @@ export function collectAndReturnViolation(jsonPath, ruleName, errorData) {
2626
/**
2727
* Collects an adoption entry.
2828
*
29-
* @param {Array<string>} path - The JSON path for the object where the rule adoption occurred.
29+
* @param {Array<string>} jsonPath - The JSON path array for the object where the rule violation occurred. Example: ["paths","./pets","get"]
3030
* @param {string} ruleName - The name of the rule that was adopted.
3131
*/
3232
export function collectAdoption(jsonPath, ruleName) {

0 commit comments

Comments
 (0)