Skip to content

Commit 44ae907

Browse files
test commit
1 parent 65ddb0d commit 44ae907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const RULE_NAME = 'xgen-IPA-114-error-responses-refer-to-api-error';
1818
export default (input, _, { path, documentInventory }) => {
1919
const oas = documentInventory.unresolved;
2020
const apiResponseObject = resolveObject(oas, path);
21-
//const errorCode = path[path.length - 1];
21+
const errorCode = path[path.length - 1];
2222

2323
// Check for exception at response level
2424
if (hasException(apiResponseObject, RULE_NAME)) {

0 commit comments

Comments
 (0)