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.
- package/dist/index.js +1 -1
- 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 = {};
|