forked from loafle/openapi-generator-original
Updated docs
This commit is contained in:
parent
be3e24b681
commit
491fae4c25
@ -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)
|
||||
|
15
docs/generators/typescript.md
Normal file
15
docs/generators/typescript.md
Normal file
@ -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|
|
Loading…
x
Reference in New Issue
Block a user