forked from loafle/openapi-generator-original
* [Slim] Add PHP_CodeSniffer config template * [Slim] Update doc * [Slim] Add local configs to gitignore PHPUnit and PHP_CodeSniffer provides the same developing pattern when user overrides global config with local one. In local config he can set environment variables. Official doc recommends to not commit local config files. * [Slim] Remove phpcsStandard CLI option Now user have full freedom to override config file. This option is not used and not necessary anymore. * [Slim] Refresh samples
44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
|
|
CONFIG OPTIONS for php-slim
|
|
|
|
sortParamsByRequiredFlag
|
|
Sort method arguments to place required parameters before optional parameters. (Default: true)
|
|
|
|
ensureUniqueParams
|
|
Whether to ensure parameter names are unique in an operation (rename parameters that are not). (Default: true)
|
|
|
|
allowUnicodeIdentifiers
|
|
boolean, toggles whether unicode identifiers are allowed in names or not, default is false (Default: false)
|
|
|
|
prependFormOrBodyParameters
|
|
Add form or body parameters to the beginning of the parameter list. (Default: false)
|
|
|
|
modelPackage
|
|
package for generated models
|
|
|
|
apiPackage
|
|
package for generated api classes
|
|
|
|
variableNamingConvention
|
|
naming convention of variable name, e.g. camelCase. (Default: camelCase)
|
|
|
|
invokerPackage
|
|
The main namespace to use for all classes. e.g. Yay\Pets
|
|
|
|
packageName
|
|
The main package name for classes. e.g. GeneratedPetstore
|
|
|
|
srcBasePath
|
|
The directory to serve as source root.
|
|
|
|
gitUserId
|
|
Git user ID, e.g. openapitools.
|
|
|
|
gitRepoId
|
|
Git repo ID, e.g. openapi-generator.
|
|
|
|
artifactVersion
|
|
The version to use in the composer package version field. e.g. 1.2.3
|
|
|
|
Back to the [generators list](README.md)
|