echoapi-converter 0.0.72 → 0.0.73
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 +2 -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
|
};
|