| Option | Description | Values | Default | 
|---|
| allowUnicodeIdentifiers | boolean, toggles whether unicode identifiers are allowed in names or not, default is false |  | false | 
| apiPackage | package for generated api classes |  | null | 
| artifactVersion | The version to use in the composer package version field. e.g. 1.2.3 |  | null | 
| ensureUniqueParams | Whether to ensure parameter names are unique in an operation (rename parameters that are not). |  | true | 
| invokerPackage | The main namespace to use for all classes. e.g. Yay\Pets |  | null | 
| modelPackage | package for generated models |  | null | 
| packageName | The main package name for classes. e.g. GeneratedPetstore |  | null | 
| prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. |  | 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 | 
| srcBasePath | The directory to serve as source root. |  | null | 
| variableNamingConvention | naming convention of variable name, e.g. camelCase. |  | camelCase | 
IMPORT MAPPING
INSTANTIATION TYPES
| Type/Alias | Instantiated By | 
|---|
| array | array | 
| map | map | 
LANGUAGE PRIMITIVES
- DateTime
- bool
- boolean
- byte
- double
- float
- int
- integer
- mixed
- number
- object
- string
- void
RESERVED WORDS
- __halt_compiler
- _header_accept
- _tempbody
- abstract
- and
- array
- as
- break
- callable
- case
- catch
- class
- clone
- const
- continue
- declare
- default
- die
- do
- echo
- else
- elseif
- empty
- enddeclare
- endfor
- endforeach
- endif
- endswitch
- endwhile
- eval
- exit
- extends
- final
- for
- foreach
- formparams
- function
- global
- goto
- headerparams
- httpbody
- if
- implements
- include
- include_once
- instanceof
- insteadof
- interface
- isset
- list
- namespace
- new
- or
- print
- private
- protected
- public
- queryparams
- require
- require_once
- resourcepath
- return
- static
- switch
- throw
- trait
- try
- unset
- use
- var
- while
- xor
Last updated on 1/20/2020