We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
skipSavePostmanCollection
true
1 parent 02a426d commit 12fd112Copy full SHA for 12fd112
‎src/cli/collections.ts‎
@@ -81,7 +81,7 @@ export const generateCollections : any = async (config: { [x: string]: any; sess
81
//Sort alphabetically
82
const x = {};
83
Object.keys(swCol.paths).sort().map(k => x[k] = swCol.paths[k]); swCol.paths = x;
84
- writeJsonSync("./open-wa-" + config.sessionId + ".sw_col.json", swCol);
+ if(!(config?.skipSavePostmanCollection)) writeJsonSync("./open-wa-" + config.sessionId + ".sw_col.json", swCol);
85
collections['postman'] = pmCol;
86
collections['swagger'] = swCol;
87
spinner.succeed('API collections (swagger + postman) generated successfully');
0 commit comments