swagger-axios-codegen
Advanced tools
Comparing version 0.9.0 to 0.9.2
##0.9.0 | ||
## 0.9.2 | ||
@@ -14,2 +14,3 @@ - Support OpenApi3.0 | ||
## 0.8.1 | ||
@@ -16,0 +17,0 @@ |
@@ -65,3 +65,3 @@ "use strict"; | ||
// 判断是否是openApi3.0或者swagger3.0 | ||
const isV3 = utils_1.isOpenApi3(params.openApi || swaggerSource.openapi || swaggerSource.openapi); | ||
const isV3 = utils_1.isOpenApi3(params.openApi || swaggerSource.openapi || swaggerSource.swagger); | ||
console.log('isV3', isV3); | ||
@@ -68,0 +68,0 @@ let requestClasses = Object.entries(requestCodegen_1.requestCodegen(swaggerSource.paths)); |
@@ -58,3 +58,5 @@ "use strict"; | ||
if (methodCount >= 1) { | ||
console.log(uniqueMethodName, methodCount); | ||
uniqueMethodName = uniqueMethodName + (methodCount + 1); | ||
console.log(uniqueMethodName); | ||
} | ||
@@ -61,0 +63,0 @@ requestClasses[className].push({ |
@@ -79,5 +79,2 @@ "use strict"; | ||
} | ||
if (s === "integer") { | ||
console.log(s, result); | ||
} | ||
return result; | ||
@@ -84,0 +81,0 @@ } |
{ | ||
"name": "swagger-axios-codegen", | ||
"version": "0.9.0", | ||
"version": "0.9.2", | ||
"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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108131
1594