Skip to content

Commit 2ee50ce

Browse files
authored
Update axios to newer versions (#22937)
* update axios to newer versions * update
1 parent c18015c commit 2ee50ce

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/generators/typescript-axios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
2020
| ------ | ----------- | ------ | ------- |
2121
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
2222
|apiPackage|package for generated api classes| |null|
23-
|axiosVersion|Use this property to override the axios version in package.json| |^1.6.1|
23+
|axiosVersion|Use this property to override the axios version in package.json| |^1.13.5|
2424
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true|
2525
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
2626
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class TypeScriptAxiosClientCodegen extends AbstractTypeScriptClientCodege
5151
public static final String IMPORT_FILE_EXTENSION_SWITCH_DESC = "File extension to use with relative imports. Set it to '.js' or '.mjs' when using [ESM](https://nodejs.org/api/esm.html).";
5252
public static final String USE_SQUARE_BRACKETS_IN_ARRAY_NAMES = "useSquareBracketsInArrayNames";
5353
public static final String AXIOS_VERSION = "axiosVersion";
54-
public static final String DEFAULT_AXIOS_VERSION = "^1.6.1";
54+
public static final String DEFAULT_AXIOS_VERSION = "^1.13.5";
5555
public static final String WITH_AWSV4_SIGNATURE = "withAWSV4Signature";
5656

5757
@Getter @Setter

samples/client/echo_api/typescript-axios/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepare": "npm run build"
2323
},
2424
"dependencies": {
25-
"axios": "^1.6.1"
25+
"axios": "^1.13.5"
2626
},
2727
"devDependencies": {
2828
"@types/node": "12.11.5 - 12.20.42",

samples/client/petstore/typescript-axios/builds/es6-target/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"prepare": "npm run build"
2525
},
2626
"dependencies": {
27-
"axios": "^1.6.1"
27+
"axios": "^1.13.5"
2828
},
2929
"devDependencies": {
3030
"@types/node": "12.11.5 - 12.20.42",

samples/client/petstore/typescript-axios/builds/with-complex-headers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepare": "npm run build"
2323
},
2424
"dependencies": {
25-
"axios": "^1.6.1"
25+
"axios": "^1.13.5"
2626
},
2727
"devDependencies": {
2828
"@types/node": "12.11.5 - 12.20.42",

samples/client/petstore/typescript-axios/builds/with-npm-version-and-separate-models-and-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepare": "npm run build"
2323
},
2424
"dependencies": {
25-
"axios": "^1.6.1"
25+
"axios": "^1.13.5"
2626
},
2727
"devDependencies": {
2828
"@types/node": "12.11.5 - 12.20.42",

samples/client/petstore/typescript-axios/builds/with-npm-version/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"prepare": "npm run build"
2323
},
2424
"dependencies": {
25-
"axios": "^1.6.1"
25+
"axios": "^1.13.5"
2626
},
2727
"devDependencies": {
2828
"@types/node": "12.11.5 - 12.20.42",

0 commit comments

Comments
 (0)