echoapi-converter 0.0.60 → 0.0.61

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3999,7 +3999,7 @@ class ApifoxToApipost {
3999
3999
  description: (item === null || item === void 0 ? void 0 : item.description) || "",
4000
4000
  parent_id: (parentInfo === null || parentInfo === void 0 ? void 0 : parentInfo.model_id) || "0",
4001
4001
  name: (item === null || item === void 0 ? void 0 : item.name) || "New Folder",
4002
- display_name: (item === null || item === void 0 ? void 0 : item.displayName) || "",
4002
+ display_name: (item === null || item === void 0 ? void 0 : item.displayName) || (item === null || item === void 0 ? void 0 : item.display_name) || "",
4003
4003
  sort: 1000,
4004
4004
  };
4005
4005
  pre.push(parent);
@@ -4022,7 +4022,7 @@ class ApifoxToApipost {
4022
4022
  type: "object",
4023
4023
  properties: {},
4024
4024
  },
4025
- display_name: (item === null || item === void 0 ? void 0 : item.displayName) || "",
4025
+ display_name: (item === null || item === void 0 ? void 0 : item.displayName) || (item === null || item === void 0 ? void 0 : item.display_name) || "",
4026
4026
  sort: 1000,
4027
4027
  });
4028
4028
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoapi-converter",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "echoapi to swagger",
5
5
  "main": "dist/index.js",
6
6
  "files": [