forked from loafle/openapi-generator-original
2.1 KiB
2.1 KiB
| title | sidebar_label |
|---|---|
| Config Options for elixir | elixir |
| 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 | |
| invokerPackage | The main namespace to use for all classes. e.g. Yay.Pets | null | |
| licenseHeader | The license header to prepend to the top of all source files. | null | |
| packageName | Elixir package name (convention: lowercase). | null |
IMPORT MAPPING
| Type/Alias | Imports |
|---|---|
| LocalDateTime | org.joda.time.* |
| Set | java.util.* |
| LocalTime | org.joda.time.* |
| HashMap | java.util.HashMap |
| 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.* |
| Array | java.util.List |
| List | java.util.* |
| UUID | java.util.UUID |
| File | java.io.File |
| Map | java.util.Map |
INSTANTIATION TYPES
| Type/Alias | Instantiated By |
|---|
LANGUAGE PRIMITIVES
- Integer
- Float
- List
- PID
- String
- Boolean
- Map
- Atom
- Tuple
- DateTime
RESERVED WORDS
- nil
- __DIR__
- __ENV__
- __CALLER__
- __FILE__
- true
- false
- __MODULE__