Skip to content

Commit 2d43dbc

Browse files
docs fix
1 parent 1df15ce commit 2d43dbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/spectral/ipa/rulesets/functions/IPA114ErrorResponsesReferToApiError.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ const RULE_NAME = 'xgen-IPA-114-error-responses-refer-to-api-error';
1515
*
1616
* @param {object} input - The response object to check
1717
* @param {object} _ - Rule options (unused)
18-
* @param {{ path: string[], documentInventory: object}} context - The context object containing the path and document
19-
* @returns {object|void} - Violation object if any errors found, otherwise undefined
18+
* @param {object} context - The context object containing path and document information
2019
*/
2120
export default (input, _, { path, documentInventory }) => {
2221
const oas = documentInventory.unresolved;

0 commit comments

Comments
 (0)