@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.84 → 0.0.1-alpha.85
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.
|
@@ -45884,7 +45884,7 @@ const parseJsonPathTemplate = ({
|
|
|
45884
45884
|
customFallback
|
|
45885
45885
|
}) => {
|
|
45886
45886
|
if (!text) return "";
|
|
45887
|
-
const placeholderRegex = /\{reqsJsonPath\[(\d+)\]\s*\[\s*(['"])([
|
|
45887
|
+
const placeholderRegex = /\{reqsJsonPath\[(\d+)\]\s*\[\s*(['"])([\s\S]*?)\2\s*\](?:\s*\[\s*(['"])([\s\S]*?)\4\s*\])?\}/g;
|
|
45888
45888
|
return text.replace(
|
|
45889
45889
|
placeholderRegex,
|
|
45890
45890
|
(match, reqIndexStr, _quote, jsonPathExpr, _smth, fallback = "Undefined with no fallback") => {
|