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; +} +