Config Options for typescript-rxjs
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 | |
withInterfaces | Setting this property to true will generate interfaces next to the default class implementations. | false |
IMPORT MAPPING
Type/Alias | Imports |
---|
INSTANTIATION TYPES
Type/Alias | Instantiated By |
---|---|
array | Array |
LANGUAGE PRIMITIVES
- Array
- Blob
- Boolean
- Date
- Double
- Error
- File
- Float
- Integer
- Long
- Map
- Object
- String
- any
- boolean
- number
- object
- string
RESERVED WORDS
- AjaxRequest
- AjaxResponse
- BASE_PATH
- BaseAPI
- COLLECTION_FORMATS
- Configuration
- ConfigurationParameters
- HttpBody
- HttpHeaders
- HttpMethod
- HttpQuery
- Middleware
- RequestArgs
- RequestOpts
- ResponseArgs
- 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