swagger-axios-codegen
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -0,14 +1,14 @@ | ||
## 0.2.8 | ||
- Fix: A non-file parameter can be submitted correctly using 'FormData' | ||
## 0.2.7 | ||
- 优化:当实体的属性为枚举数组时,优化他的生成规则 , [example](./example/swagger.enumArray.json) | ||
- 修复:当tags为空时,跳过生成当前方法 | ||
- Optimization: Optimize generation rules when an property of the entity is an enumerated array [example](./example/swagger.enumArray.json) | ||
- Fix: Skip the current method when the tags are empty | ||
## 0.2.6 | ||
- Adjust the generated class name | ||
- 调整生成的class name的名称 | ||
## 0.2.5 | ||
- 使用 `Promise` 代替 `AxiosPromise`。如果接口调用成功,默认返回response.data | ||
- 修改README.md | ||
## 0.2.5 | ||
- Use ‘Promise’ instead of ‘AxiosPromise’. If the interface is called successfully, the response.data is returned by default. | ||
- Modify REANDME.md |
@@ -37,3 +37,3 @@ "use strict"; | ||
requestFormData += `if(params['${paramName}']){ | ||
data.append('${paramName}',params['${paramName}'],'${paramName}') | ||
data.append('${paramName}',params['${paramName}']) | ||
}\n | ||
@@ -40,0 +40,0 @@ `; |
{ | ||
"name": "swagger-axios-codegen", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"main": "./dist/index", | ||
@@ -5,0 +5,0 @@ "typings": "./dist/", |
@@ -9,2 +9,4 @@ # swagger-axios-codegen | ||
## [Change Logs](./CHANGElOG.md) [中文](./CHANGElOG.zh-CN.md) | ||
## Get Started | ||
@@ -11,0 +13,0 @@ |
74331
29
100