echoapi-converter 0.0.42 → 0.0.43
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 +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3890,6 +3890,9 @@ const completionPostmanTarget = (targetItem) => {
|
|
|
3890
3890
|
const result = {
|
|
3891
3891
|
name: (targetItem === null || targetItem === void 0 ? void 0 : targetItem.name) || 'New HTTP',
|
|
3892
3892
|
description: (targetItem === null || targetItem === void 0 ? void 0 : targetItem.description) || '',
|
|
3893
|
+
protocolProfileBehavior: {
|
|
3894
|
+
disableBodyPruning: true // 禁止get请求把body丢弃
|
|
3895
|
+
},
|
|
3893
3896
|
request: {
|
|
3894
3897
|
method: (targetItem === null || targetItem === void 0 ? void 0 : targetItem.method) || 'GET',
|
|
3895
3898
|
header: getPostmanHeader((_b = (_a = targetItem === null || targetItem === void 0 ? void 0 : targetItem.request) === null || _a === void 0 ? void 0 : _a.header) === null || _b === void 0 ? void 0 : _b.parameter),
|