Update axios to newer versions (#22937)

* update axios to newer versions

* update
This commit is contained in:
William Cheng
2026-02-10 18:30:52 +08:00
committed by GitHub
parent c18015cccd
commit 2ee50ce900
7 changed files with 7 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
| ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|apiPackage|package for generated api classes| |null|
|axiosVersion|Use this property to override the axios version in package.json| |^1.6.1|
|axiosVersion|Use this property to override the axios version in package.json| |^1.13.5|
|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|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|

View File

@@ -51,7 +51,7 @@ public class TypeScriptAxiosClientCodegen extends AbstractTypeScriptClientCodege
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).";
public static final String USE_SQUARE_BRACKETS_IN_ARRAY_NAMES = "useSquareBracketsInArrayNames";
public static final String AXIOS_VERSION = "axiosVersion";
public static final String DEFAULT_AXIOS_VERSION = "^1.6.1";
public static final String DEFAULT_AXIOS_VERSION = "^1.13.5";
public static final String WITH_AWSV4_SIGNATURE = "withAWSV4Signature";
@Getter @Setter

View File

@@ -22,7 +22,7 @@
"prepare": "npm run build"
},
"dependencies": {
"axios": "^1.6.1"
"axios": "^1.13.5"
},
"devDependencies": {
"@types/node": "12.11.5 - 12.20.42",

View File

@@ -24,7 +24,7 @@
"prepare": "npm run build"
},
"dependencies": {
"axios": "^1.6.1"
"axios": "^1.13.5"
},
"devDependencies": {
"@types/node": "12.11.5 - 12.20.42",

View File

@@ -22,7 +22,7 @@
"prepare": "npm run build"
},
"dependencies": {
"axios": "^1.6.1"
"axios": "^1.13.5"
},
"devDependencies": {
"@types/node": "12.11.5 - 12.20.42",

View File

@@ -22,7 +22,7 @@
"prepare": "npm run build"
},
"dependencies": {
"axios": "^1.6.1"
"axios": "^1.13.5"
},
"devDependencies": {
"@types/node": "12.11.5 - 12.20.42",

View File

@@ -22,7 +22,7 @@
"prepare": "npm run build"
},
"dependencies": {
"axios": "^1.6.1"
"axios": "^1.13.5"
},
"devDependencies": {
"@types/node": "12.11.5 - 12.20.42",