Skip to content

Commit

Permalink
remove unecessary spec modification
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-mairose-sp committed Nov 14, 2024
1 parent 51f04b2 commit c1abad2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions sdk-resources/prescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,6 @@ const fixFiles = function (myArray) {
fileOut = [];
}

if (file.includes(path.join("schemas","WorkflowTrigger.yaml"))) {
for (let line of rawDataArra) {
if (line.includes('oneOf')) {
line = line.replaceAll("oneOf:", "type: object")
madeChange = true;
}
if (line.includes('- $ref:')) {

} else {
fileOut.push(line);
}

}
rawDataArra = fileOut.slice();
fileOut = [];
}

// remove the complex account schema
if (file.includes(path.join("paths","accounts.yaml"))) {

Expand Down

0 comments on commit c1abad2

Please sign in to comment.