You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generators/typescript-axios.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
44
44
|withNodeImports|Setting this property to true adds imports for NodeJS||false|
45
45
|withSeparateModelsAndApi|Put the model and api in separate folders and in separate classes. This requires in addition a value for 'apiPackage' and 'modelPackage'||false|
46
46
|withoutPrefixEnums|Don't prefix enum names with class names||false|
47
+
|withAWSV4Signature|whether to include AWS v4 signature support||false|
47
48
48
49
## IMPORT MAPPING
49
50
@@ -265,7 +266,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,9 +42,11 @@ public class TypeScriptAxiosClientCodegen extends AbstractTypeScriptClientCodege
// clear import mapping (from default generator) as TS does not use it
59
61
// at the moment
@@ -73,6 +75,7 @@ public TypeScriptAxiosClientCodegen() {
73
75
this.cliOptions.add(newCliOption(USE_SINGLE_REQUEST_PARAMETER, "Setting this property to true will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter.", SchemaTypeUtil.BOOLEAN_TYPE).defaultValue(Boolean.FALSE.toString()));
74
76
this.cliOptions.add(newCliOption(WITH_NODE_IMPORTS, "Setting this property to true adds imports for NodeJS", SchemaTypeUtil.BOOLEAN_TYPE).defaultValue(Boolean.FALSE.toString()));
this.cliOptions.add(newCliOption(WITH_AWSV4_SIGNATURE, "whether to include AWS v4 signature support", SchemaTypeUtil.BOOLEAN_TYPE).defaultValue(Boolean.FALSE.toString()));
76
79
// Templates have no mapping between formatted property names and original base names so use only "original" and remove this option
0 commit comments