mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
2.7 KiB
2.7 KiB
title | sidebar_label |
---|---|
Config Options for scala-akka | scala-akka |
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 | |
mainPackage | Top-level package name, which defines 'apiPackage', 'modelPackage', 'invokerPackage' | org.openapitools.client |
IMPORT MAPPING
Type/Alias | Imports |
---|---|
LocalDateTime | org.joda.time.* |
LocalTime | org.joda.time.* |
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.* |
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 |
INSTANTIATION TYPES
Type/Alias | Instantiated By |
---|---|
set | Set |
array | ListBuffer |
map | Map |
LANGUAGE PRIMITIVES
- String
- Double
- Any
- Int
- Array
- Float
- boolean
- Long
- Object
- List
- Boolean
- Map
- Seq
RESERVED WORDS
- implicit
- private
- def
- import
- lazy
- for
- do
- type
- while
- protected
- else
- yield
- trait
- catch
- override
- forsome
- class
- if
- case
- val
- new
- package
- sealed
- var
- finally
- false
- match
- this
- abstract
- super
- with
- extends
- null
- throw
- final
- true
- try
- return
- object