--- title: Config Options for scalatra sidebar_label: scalatra --- | Option | Description | Values | Default | | ------ | ----------- | ------ | ------- | |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| |sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false| |prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false| |modelPackage|package for generated models| |null| |apiPackage|package for generated api classes| |null| |sourceFolder|source folder for generated code| |null| ## IMPORT MAPPING | Type/Alias | Imports | | ---------- | ------- | |LocalDateTime|org.joda.time.LocalDateTime| |Set|scala.collection.immutable.Set| |LocalTime|org.joda.time.LocalTime| |HashMap|java.util.HashMap| |ListBuffer|scala.collection.mutable.ListBuffer| |ArrayList|java.util.ArrayList| |URI|java.net.URI| |Timestamp|java.sql.Timestamp| |LocalDate|org.joda.time.LocalDate| |BigDecimal|java.math.BigDecimal| |Date|java.util.Date| |DateTime|org.joda.time.DateTime| |Array|java.util.List| |ListSet|scala.collection.immutable.ListSet| |UUID|java.util.UUID| |File|java.io.File| |Map|java.util.Map| ## INSTANTIATION TYPES | Type/Alias | Instantiated By | | ---------- | --------------- | |set|Set| |map|HashMap| ## LANGUAGE PRIMITIVES