From 2ee24591daf2bd4457ca3b3f2940271f55149356 Mon Sep 17 00:00:00 2001 From: Yeliz Henden Date: Tue, 17 Dec 2024 17:03:24 +0000 Subject: [PATCH] CLOUDP-271988: IPA-102: Validate paths follow expected format (Little fix) --- .../eachPathAlternatesBetweenResourceNameAndPathParam.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/spectral/ipa/rulesets/functions/eachPathAlternatesBetweenResourceNameAndPathParam.js b/tools/spectral/ipa/rulesets/functions/eachPathAlternatesBetweenResourceNameAndPathParam.js index 6fd1f96398..fef49d146f 100644 --- a/tools/spectral/ipa/rulesets/functions/eachPathAlternatesBetweenResourceNameAndPathParam.js +++ b/tools/spectral/ipa/rulesets/functions/eachPathAlternatesBetweenResourceNameAndPathParam.js @@ -1,4 +1,4 @@ -import { isPathParam } from './utils/pathUtils'; +import { isPathParam } from './utils/pathUtils.js'; const ERROR_MESSAGE = 'API paths must alternate between resource name and path params.'; const ERROR_RESULT = [{ message: ERROR_MESSAGE }];