echoapi-converter 0.0.28 → 0.0.30
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 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1554,7 +1554,7 @@ class SwaggerToApipost {
|
|
|
1554
1554
|
target_type: "api",
|
|
1555
1555
|
tags: [],
|
|
1556
1556
|
url: url || "",
|
|
1557
|
-
method: method
|
|
1557
|
+
method: completionMethod(method),
|
|
1558
1558
|
description: (swaggerApi === null || swaggerApi === void 0 ? void 0 : swaggerApi.description) || "",
|
|
1559
1559
|
request: {},
|
|
1560
1560
|
response: {
|
|
@@ -2008,7 +2008,7 @@ class SwaggerToApipost {
|
|
|
2008
2008
|
tags: [],
|
|
2009
2009
|
target_type: "api",
|
|
2010
2010
|
url: url || "",
|
|
2011
|
-
method: method
|
|
2011
|
+
method: completionMethod(method),
|
|
2012
2012
|
description: (swaggerApi === null || swaggerApi === void 0 ? void 0 : swaggerApi.description) || "",
|
|
2013
2013
|
request: {
|
|
2014
2014
|
header: {
|
|
@@ -4817,7 +4817,7 @@ class PostmanToApipost {
|
|
|
4817
4817
|
field_type: DEFAULT_FIELD_TYPE.includes(item === null || item === void 0 ? void 0 : item.type)
|
|
4818
4818
|
? item.type.charAt(0).toUpperCase() + item.type.slice(1)
|
|
4819
4819
|
: "String",
|
|
4820
|
-
is_checked: 1,
|
|
4820
|
+
is_checked: (item === null || item === void 0 ? void 0 : item.disabled) ? -1 : 1,
|
|
4821
4821
|
key: (item === null || item === void 0 ? void 0 : item.key) || "",
|
|
4822
4822
|
value: (item === null || item === void 0 ? void 0 : item.value) || "",
|
|
4823
4823
|
not_null: -1,
|