Skip to content

Commit 7d9d370

Browse files
test commit
1 parent 6c3198e commit 7d9d370

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
@@ -17,11 +17,10 @@ const RULE_NAME = 'xgen-IPA-114-error-responses-refer-to-api-error';
1717
* @param {object} _ - Rule options (unused)
1818
* @param {object} context - The context object containing path and document information
1919
*/
20-
export default (input, _, { path, documentInventory, referencedDocuments }) => {
20+
export default (input, _, { path, documentInventory }) => {
2121
const oas = documentInventory.unresolved;
2222
const apiResponseObject = resolveObject(oas, path);
2323
const errorCode = path[path.length - 1];
24-
console.log(referencedDocuments);
2524

2625
// Check for exception at response level
2726
if (hasException(apiResponseObject, RULE_NAME)) {

0 commit comments

Comments
 (0)