mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
1.3 KiB
1.3 KiB
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
phpcsStandard
PHP CodeSniffer <standard> option. Accepts name or path of the coding standard to use. (Default: PSR12)
Back to the generators list