generators/scala-play-server


id: generator-opts-server-scala-play-server title: Config Options for scala-play-serversidebar_label: scala-play-server


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
sourceFoldersource folder for generated codenull
routesFileNameName of the routes file to generate.routes
basePackageBase package in which supporting classes are generated.org.openapitools
skipStubsIf set, skips generation of stub classes.false
supportAsyncIf set, wraps API return types with Futures and generates async actions.false
generateCustomExceptionsIf set, generates custom exception types.true
useSwaggerUIAdd a route to /api which show your documentation in swagger-ui. Will also import needed dependenciestrue