generators/php-symfony


id: generator-opts-server-php-symfony title: Config Options for php-symfonysidebar_label: php-symfony


OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
modelPackagepackage for generated modelsnull
apiPackagepackage for generated api classesnull
variableNamingConventionnaming convention of variable name, e.g. camelCase.snake_case
invokerPackageThe main namespace to use for all classes. e.g. Yay\Petsnull
packageNameThe main package name for classes. e.g. GeneratedPetstorenull
srcBasePathThe directory to serve as source root.null
artifactVersionThe version to use in the composer package version field. e.g. 1.2.3null
composerVendorNameThe vendor name used in the composer package name. The template uses {{composerVendorName}}/{{composerProjectName}} for the composer package name. e.g. yaypetsnull
bundleNameThe name of the Symfony bundle. The template uses {{bundleName}}null
bundleAliasThe alias of the Symfony bundle. The template uses {{aliasName}}null
composerProjectNameThe project name used in the composer package name. The template uses {{composerVendorName}}/{{composerProjectName}} for the composer package name. e.g. petstore-clientnull
hideGenerationTimestampHides the generation timestamp when files are generated.true
phpLegacySupportShould the generated code be compatible with PHP 5.x?true