diff --git a/docs/generators.md b/docs/generators.md index 7753c618ad5..a08889cd7b6 100644 --- a/docs/generators.md +++ b/docs/generators.md @@ -52,7 +52,7 @@ The following generators are available: - [swift2-deprecated](generators/swift2-deprecated.md) - [swift3-deprecated](generators/swift3-deprecated.md) - [swift4](generators/swift4.md) - - [typescript](generators/typescript.md) + - [typescript](generators/typescript.md) - [typescript-angular](generators/typescript-angular.md) - [typescript-angularjs](generators/typescript-angularjs.md) - [typescript-aurelia](generators/typescript-aurelia.md) diff --git a/docs/generators/typescript.md b/docs/generators/typescript.md new file mode 100644 index 00000000000..2cf63273479 --- /dev/null +++ b/docs/generators/typescript.md @@ -0,0 +1,15 @@ + +--- +id: generator-opts-client-typescript +title: Config Options for typescript +sidebar_label: typescript +--- + +| Option | Description | Values | Default | +| ------ | ----------- | ------ | ------- | +|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| +|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| +|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false| +|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false| +|modelPropertyNaming|Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name| |camelCase| +|supportsES6|Generate code that conforms to ES6.| |false|