Option | Description | Values | Default |
allowUnicodeIdentifiers | boolean, toggles whether unicode identifiers are allowed in names or not, default is false | | false |
ensureUniqueParams | Whether to ensure parameter names are unique in an operation (rename parameters that are not). | | true |
modelPropertyNaming | Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name | | camelCase |
npmName | The name under which you want to publish generated npm package. Required to generate a full package | | null |
npmVersion | The version of your npm package. If not provided, using the version from the OpenAPI specification file. | | 1.0.0 |
prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. | | false |
snapshot | When setting this property to true, the version will be suffixed with -SNAPSHOT.yyyyMMddHHmm | | false |
sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | | true |
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | | true |
supportsES6 | Generate code that conforms to ES6. | | false |
IMPORT MAPPING
INSTANTIATION TYPES
Type/Alias | Instantiated By |
array | Array |
LANGUAGE PRIMITIVES
- Array
- Boolean
- Date
- Double
- Error
- File
- Float
- Integer
- Long
- Map
- Object
- String
- any
- boolean
- number
- object
- string
RESERVED WORDS
- abstract
- await
- boolean
- break
- byte
- case
- catch
- char
- class
- const
- continue
- debugger
- default
- delete
- do
- double
- else
- enum
- export
- extends
- false
- final
- finally
- float
- for
- formParams
- function
- goto
- headerParams
- if
- implements
- import
- in
- instanceof
- int
- interface
- let
- long
- native
- new
- null
- package
- private
- protected
- public
- queryParameters
- requestOptions
- return
- short
- static
- super
- switch
- synchronized
- this
- throw
- transient
- true
- try
- typeof
- useFormData
- var
- varLocalDeferred
- varLocalPath
- void
- volatile
- while
- with
- yield
Last updated on 1/20/2020