Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swagger-axios-codegen

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-axios-codegen - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

CHANGELOG.zh-CN.md

18

CHANGELOG.md

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc