openapi-generator/docs/generators/scala-lagom-server.md
Jim Schubert 644f720db8
[docs] Sorted doc outputs and clean up duplicated CliOptions (#5046)
* [config-help] Sort all outputs

* Remove old/stale generator docs (these have been renamed previously)

* Sort config doc outputs, making it easier to find relevant info

* Fixes cliOptions duplicates

Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).

The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.

* Add --github-nested-index for generating docs/generators/README.md

* 📝 Regenerate generator docs
2020-01-19 20:19:11 -05:00

3.0 KiB

title sidebar_label
Config Options for scala-lagom-server scala-lagom-server
Option Description Values Default
allowUnicodeIdentifiers boolean, toggles whether unicode identifiers are allowed in names or not, default is false false
apiPackage package for generated api classes null
ensureUniqueParams Whether to ensure parameter names are unique in an operation (rename parameters that are not). true
modelPackage package for generated models null
modelPropertyNaming Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name camelCase
prependFormOrBodyParameters Add form or body parameters to the beginning of the parameter list. false
sortModelPropertiesByRequiredFlag Sort model properties to place required parameters before optional parameters. true
sortParamsByRequiredFlag Sort method arguments to place required parameters before optional parameters. true
sourceFolder source folder for generated code null

IMPORT MAPPING

Type/Alias Imports
Array java.util.List
ArrayList java.util.ArrayList
BigDecimal java.math.BigDecimal
Date java.util.Date
DateTime org.joda.time.DateTime
File java.io.File
HashMap java.util.HashMap
ListBuffer scala.collection.mutable.ListBuffer
ListSet scala.collection.immutable.ListSet
LocalDate org.joda.time.*
LocalDateTime org.joda.time.*
LocalTime org.joda.time.*
Seq scala.collection.immutable.Seq
Timestamp java.sql.Timestamp
URI java.net.URI
UUID java.util.UUID

INSTANTIATION TYPES

Type/Alias Instantiated By
array ListBuffer
map HashMap
set Set

LANGUAGE PRIMITIVES

  • Any
  • Array
  • Boolean
  • Double
  • Float
  • Int
  • List
  • Long
  • Map
  • Object
  • Seq
  • String
  • boolean

RESERVED WORDS

  • abstract
  • apiinvoker
  • basepath
  • case
  • catch
  • class
  • contenttype
  • contenttypes
  • def
  • do
  • else
  • extends
  • false
  • final
  • finally
  • for
  • formparams
  • forsome
  • headerparams
  • if
  • implicit
  • import
  • lazy
  • match
  • mp
  • new
  • null
  • object
  • override
  • package
  • path
  • postbody
  • private
  • protected
  • queryparams
  • return
  • sealed
  • super
  • this
  • throw
  • trait
  • true
  • try
  • type
  • val
  • var
  • while
  • with
  • yield