forked from loafle/openapi-generator-original
70 lines
2.1 KiB
Markdown
70 lines
2.1 KiB
Markdown
---
|
|
title: Config Options for elixir
|
|
sidebar_label: 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
|
|
|
|
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>Integer</li>
|
|
<li>Float</li>
|
|
<li>List</li>
|
|
<li>PID</li>
|
|
<li>String</li>
|
|
<li>Boolean</li>
|
|
<li>Map</li>
|
|
<li>Atom</li>
|
|
<li>Tuple</li>
|
|
<li>DateTime</li>
|
|
</ul>
|
|
|
|
## RESERVED WORDS
|
|
|
|
<ul data-columns="2" style="list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto"><li>nil</li>
|
|
<li>__DIR__</li>
|
|
<li>__ENV__</li>
|
|
<li>__CALLER__</li>
|
|
<li>__FILE__</li>
|
|
<li>true</li>
|
|
<li>false</li>
|
|
<li>__MODULE__</li>
|
|
</ul>
|