Skip to content

Commit 0942421

Browse files
CLOUDP-303615: Fix merge issue
1 parent a0ca576 commit 0942421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { hasException } from './utils/exceptions.js';
22
import { collectAdoption, collectAndReturnViolation, collectException } from './utils/collectionUtils.js';
3-
import { isCustomMethod } from './utils/resourceEvaluation.js';
3+
import { isCustomMethodIdentifier } from './utils/resourceEvaluation.js';
44
import { resolveObject } from './utils/componentUtils.js';
55

66
const RULE_NAME = 'xgen-IPA-106-create-method-request-body-is-request-suffixed-object';
@@ -11,7 +11,7 @@ export default (input, _, { path, documentInventory }) => {
1111
const oas = documentInventory.unresolved;
1212
const resourcePath = path[1];
1313

14-
if (isCustomMethod(resourcePath)) {
14+
if (isCustomMethodIdentifier(resourcePath)) {
1515
return;
1616
}
1717

0 commit comments

Comments
 (0)