From 88d7aea024d172bd24f45e665e722e211dc1d56f Mon Sep 17 00:00:00 2001 From: Christina Gagnon Date: Mon, 17 Feb 2025 12:25:25 -0600 Subject: [PATCH] Added code to fix SearchDocuments issue --- sdk-resources/prescript.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sdk-resources/prescript.js b/sdk-resources/prescript.js index 0657da403..e311d16be 100644 --- a/sdk-resources/prescript.js +++ b/sdk-resources/prescript.js @@ -68,7 +68,14 @@ const fixFiles = function (myArray) { madeChange = true; } - + // remove the complex search schema + if (file.includes(path.join("documents", "SearchDocuments.yaml"))) { + fileOut.push("type: object"); + rawDataArra = fileOut.slice(); + fileOut = []; + madeChange = true; +} +