echoapi-converter 0.0.55 → 0.0.56

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1700,7 +1700,7 @@ class ApipostToSwagger {
1700
1700
  }
1701
1701
  array2NamePathObj(idName = "id", pidName = "pid", modelsObj) {
1702
1702
  var _a, _b, _c, _d, _e;
1703
- const items = this.apiToSwaggerOrigin.apis;
1703
+ const items = lodash.cloneDeep(this.apiToSwaggerOrigin.apis);
1704
1704
  try {
1705
1705
  const paths = {};
1706
1706
  const folderObj = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoapi-converter",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "echoapi to swagger",
5
5
  "main": "dist/index.js",
6
6
  "files": [