@pactflow/openapi-pact-comparator 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +21 -14
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -24278,6 +24278,7 @@ function setupRouter(oas, config) {
|
|
|
24278
24278
|
"";
|
|
24279
24279
|
const path = basePath +
|
|
24280
24280
|
oasPath
|
|
24281
|
+
.replaceAll(":", "::")
|
|
24281
24282
|
.replaceAll(/{.*?}/g, cleanPathParameter)
|
|
24282
24283
|
.replaceAll(/{([.;]?)([^*]+?)\*?}/g, "$1:$2(.+)");
|
|
24283
24284
|
for (const method in oas.paths[oasPath]) {
|