swagger-axios-codegen
Advanced tools
Comparing version 0.9.8 to 0.9.9
@@ -9,3 +9,3 @@ | ||
`options.extendGenericType` | ||
[example](./example/swagger.enumArray.json) | ||
[example](./example/swagger/codegen.js) | ||
@@ -12,0 +12,0 @@ ## 0.9.7 |
@@ -41,4 +41,4 @@ "use strict"; | ||
else { | ||
console.log('str', definitionClassName); | ||
str = trimString(RemoveSpecialCharacters(definitionClassName), '_', 'right'); | ||
// console.log('getGenericsClassNames', definitionClassName) | ||
str = toBaseType(trimString(RemoveSpecialCharacters(definitionClassName), '_', 'right')); | ||
} | ||
@@ -57,3 +57,3 @@ return str; | ||
? getGenericsClassNames(propType) | ||
: trimString(toBaseType(RemoveSpecialCharacters(propType)), '_', 'right'); | ||
: toBaseType(trimString(RemoveSpecialCharacters(propType), '_', 'right')); | ||
} | ||
@@ -86,2 +86,3 @@ exports.refClassName = refClassName; | ||
case 'Int64': | ||
case 'int': | ||
case 'integer': | ||
@@ -88,0 +89,0 @@ case 'number': |
{ | ||
"name": "swagger-axios-codegen", | ||
"version": "0.9.8", | ||
"version": "0.9.9", | ||
"main": "./dist/index", | ||
@@ -5,0 +5,0 @@ "typings": "./dist/", |
# swagger-axios-codegen | ||
A swagger client uses axios and typescript | ||
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/manweill/swagger-axios-codegen/NodeCI) | ||
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/manweill/swagger-axios-codegen/NodeCI)](https://img.shields.io/github/workflow/status/manweill/swagger-axios-codegen/NodeCI) | ||
[![NpmVersion](https://img.shields.io/npm/v/swagger-axios-codegen.svg)](https://www.npmjs.com/package/swagger-axios-codegen) | ||
@@ -10,2 +9,3 @@ [![npm](https://img.shields.io/npm/dm/swagger-axios-codegen.svg)](https://www.npmjs.com/package/swagger-axios-codegen) | ||
require node > v8.0.0 | ||
@@ -12,0 +12,0 @@ |
Sorry, the diff of this file is not supported yet
247488
3856