echoapi-converter 0.0.72 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2910,9 +2910,10 @@ class SwaggerToApipost {
|
|
|
2910
2910
|
createNewFolder(name, tags) {
|
|
2911
2911
|
const tagData = tags === null || tags === void 0 ? void 0 : tags.find((tag) => tag.name === name);
|
|
2912
2912
|
const description = (tagData === null || tagData === void 0 ? void 0 : tagData.description) || "";
|
|
2913
|
+
const type = (tagData === null || tagData === void 0 ? void 0 : tagData['x-type']) || "folder";
|
|
2913
2914
|
const newFolder = {
|
|
2914
2915
|
name: name,
|
|
2915
|
-
target_type:
|
|
2916
|
+
target_type: type,
|
|
2916
2917
|
description: description,
|
|
2917
2918
|
children: [],
|
|
2918
2919
|
};
|
|
@@ -7808,6 +7809,9 @@ class ThunderToApipost {
|
|
|
7808
7809
|
refreshRequestParams: [],
|
|
7809
7810
|
};
|
|
7810
7811
|
}
|
|
7812
|
+
else if ((auth === null || auth === void 0 ? void 0 : auth.type) === 'none') {
|
|
7813
|
+
customAuth["type"] = "noauth";
|
|
7814
|
+
}
|
|
7811
7815
|
return Object.assign(Object.assign({}, DEFAULT_AUTH), customAuth);
|
|
7812
7816
|
}
|
|
7813
7817
|
// script
|