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.16.3 to 0.16.4

6

dist/templates/template.js

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

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