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 |
npmRepository | Use this property to set an url your private npmRepo in the package.json | | 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 |
list | Array |
map | Object |
LANGUAGE PRIMITIVES
- Array
- Blob
- Date
- File
- Object
- boolean
- number
- string
RESERVED WORDS
- abstract
- arguments
- array
- boolean
- break
- byte
- case
- catch
- char
- class
- const
- continue
- date
- debugger
- default
- delete
- do
- double
- else
- enum
- eval
- export
- extends
- false
- final
- finally
- float
- for
- formparams
- function
- goto
- hasownproperty
- headerparams
- if
- implements
- import
- in
- infinity
- instanceof
- int
- interface
- isfinite
- isnan
- isprototypeof
- let
- long
- math
- nan
- native
- new
- null
- number
- object
- package
- private
- protected
- prototype
- public
- queryparameters
- requestoptions
- return
- short
- static
- string
- super
- switch
- synchronized
- this
- throw
- throws
- tostring
- transient
- true
- try
- typeof
- undefined
- useformdata
- valueof
- var
- varlocaldeferred
- varlocalpath
- void
- volatile
- while
- with
- yield
Last updated on 1/20/2020