echoapi-converter 0.0.28 → 0.0.29

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 +2 -2
  2. 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.toUpperCase() || "GET",
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.toUpperCase() || "GET",
2011
+ method: completionMethod(method),
2012
2012
  description: (swaggerApi === null || swaggerApi === void 0 ? void 0 : swaggerApi.description) || "",
2013
2013
  request: {
2014
2014
  header: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoapi-converter",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "echoapi to swagger",
5
5
  "main": "dist/index.js",
6
6
  "files": [