swagger-axios-codegen
Advanced tools
Comparing version 0.16.3 to 0.16.4
@@ -181,3 +181,3 @@ "use strict"; | ||
function requestBodyString(method, parsedParameters, bodyParameter, requestBody, contentType, formData) { | ||
if (method !== 'get') { | ||
if (method === 'post' || method === 'put') { | ||
return ` | ||
@@ -193,3 +193,5 @@ let data = ${parsedParameters && bodyParameter && bodyParameter.length > 0 | ||
} | ||
return '/** 适配ios13,get请求不允许带body */'; | ||
return `/** 适配移动开发(iOS13 等版本),只有 POST、PUT 等请求允许带body */ \n | ||
console.warn('适配移动开发(iOS13 等版本),只有 POST、PUT 等请求允许带body') | ||
`; | ||
} | ||
@@ -196,0 +198,0 @@ /** serviceTemplate */ |
{ | ||
"name": "swagger-axios-codegen", | ||
"version": "0.16.3", | ||
"version": "0.16.4", | ||
"main": "./dist/index", | ||
@@ -5,0 +5,0 @@ "typings": "./dist/", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
205236
2800
1