echoapi-converter 0.0.53 → 0.0.54
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 +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -600,7 +600,7 @@ const resources = {
|
|
|
600
600
|
ja: {
|
|
601
601
|
translation: ja,
|
|
602
602
|
},
|
|
603
|
-
'zh-
|
|
603
|
+
'zh-hant': {
|
|
604
604
|
translation: tw,
|
|
605
605
|
},
|
|
606
606
|
id: {
|
|
@@ -1699,11 +1699,13 @@ class ApipostToSwagger {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
// 收到数据即认为完成(不处理分包问题) none
|
|
1701
1701
|
if (item.target_type === 'socket' && lodash.isPlainObject((_b = item === null || item === void 0 ? void 0 : item.request) === null || _b === void 0 ? void 0 : _b.end_func)) {
|
|
1702
|
-
item
|
|
1703
|
-
|
|
1704
|
-
|
|
|
1705
|
-
${item.
|
|
1706
|
-
|
|
1702
|
+
if (!(folderObj === null || folderObj === void 0 ? void 0 : folderObj[item === null || item === void 0 ? void 0 : item.name])) {
|
|
1703
|
+
item.description = `| ${t('serverAddress')} | ${t('pktCompletion')} |
|
|
1704
|
+
| --- | --- |
|
|
1705
|
+
| ${item === null || item === void 0 ? void 0 : item.url} | ${getSocketRequestStr((_c = item === null || item === void 0 ? void 0 : item.request) === null || _c === void 0 ? void 0 : _c.end_func)}
|
|
1706
|
+
${item.description}
|
|
1707
|
+
`;
|
|
1708
|
+
}
|
|
1707
1709
|
}
|
|
1708
1710
|
this.apiToSwaggerResult.tags.push({
|
|
1709
1711
|
name: (item === null || item === void 0 ? void 0 : item.name) || t('createDir'),
|