Continued work on sample use cases towards onboarding
This commit is contained in:
@@ -641,6 +641,12 @@ const AppCreator = (defaultprops) => {
|
||||
example_response: "",
|
||||
};
|
||||
|
||||
if (newaction.url !== undefined && newaction.url !== null && newaction.url.includes("_shuffle_replace_")) {
|
||||
const regex = /_shuffle_replace_\d/i;
|
||||
//console.log("NEW: ",
|
||||
newaction.url = newaction.url.replace(regex, "")
|
||||
}
|
||||
|
||||
// Finding category
|
||||
if (path.includes("/")) {
|
||||
const pathsplit = path.split("/");
|
||||
@@ -665,9 +671,10 @@ const AppCreator = (defaultprops) => {
|
||||
}
|
||||
|
||||
if (path === "/files/{file_id}/content") {
|
||||
console.log("Method: ", path, method, methodvalue)
|
||||
console.log("FILE DOWNLOAD Method: ", path, method, methodvalue)
|
||||
}
|
||||
|
||||
|
||||
// Typescript? I think not ;)
|
||||
if (methodvalue["requestBody"] !== undefined) {
|
||||
//console.log("Handle requestbody: ", methodvalue["requestBody"], method, path)
|
||||
@@ -1354,6 +1361,8 @@ const AppCreator = (defaultprops) => {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
newActions.push(newaction);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user