mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-08 15:53:54 +00:00
[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
This commit is contained in:
@@ -5,39 +5,39 @@ sidebar_label: python-blueplanet
|
||||
|
||||
| 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|
|
||||
|packageName|python package name (convention: snake_case).| |openapi_server|
|
||||
|packageVersion|python package version.| |1.0.0|
|
||||
|controllerPackage|controller package| |controllers|
|
||||
|defaultController|default controller| |default_controller|
|
||||
|supportPython2|support python2| |false|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|packageName|python package name (convention: snake_case).| |openapi_server|
|
||||
|packageVersion|python package version.| |1.0.0|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|serverPort|TCP port to listen to in app.run| |8080|
|
||||
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|
||||
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
|
||||
|supportPython2|support python2| |false|
|
||||
|useNose|use the nose test framework| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
| Type/Alias | Imports |
|
||||
| ---------- | ------- |
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|Set|java.util.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|HashMap|java.util.HashMap|
|
||||
|Array|java.util.List|
|
||||
|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|
|
||||
|HashMap|java.util.HashMap|
|
||||
|List|java.util.*|
|
||||
|LocalDate|org.joda.time.*|
|
||||
|LocalDateTime|org.joda.time.*|
|
||||
|LocalTime|org.joda.time.*|
|
||||
|Map|java.util.Map|
|
||||
|Set|java.util.*|
|
||||
|Timestamp|java.sql.Timestamp|
|
||||
|URI|java.net.URI|
|
||||
|UUID|java.util.UUID|
|
||||
|
||||
|
||||
## INSTANTIATION TYPES
|
||||
@@ -48,57 +48,57 @@ sidebar_label: python-blueplanet
|
||||
|
||||
## 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>str</li>
|
||||
<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>Dict</li>
|
||||
<li>List</li>
|
||||
<li>bool</li>
|
||||
<li>byte</li>
|
||||
<li>bytearray</li>
|
||||
<li>date</li>
|
||||
<li>datetime</li>
|
||||
<li>file</li>
|
||||
<li>bool</li>
|
||||
<li>Dict</li>
|
||||
<li>byte</li>
|
||||
<li>bytearray</li>
|
||||
<li>List</li>
|
||||
<li>float</li>
|
||||
<li>int</li>
|
||||
<li>object</li>
|
||||
<li>str</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>import</li>
|
||||
<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>and</li>
|
||||
<li>as</li>
|
||||
<li>assert</li>
|
||||
<li>break</li>
|
||||
<li>class</li>
|
||||
<li>continue</li>
|
||||
<li>def</li>
|
||||
<li>for</li>
|
||||
<li>del</li>
|
||||
<li>elif</li>
|
||||
<li>else</li>
|
||||
<li>except</li>
|
||||
<li>exec</li>
|
||||
<li>false</li>
|
||||
<li>finally</li>
|
||||
<li>for</li>
|
||||
<li>from</li>
|
||||
<li>global</li>
|
||||
<li>if</li>
|
||||
<li>import</li>
|
||||
<li>in</li>
|
||||
<li>is</li>
|
||||
<li>lambda</li>
|
||||
<li>none</li>
|
||||
<li>while</li>
|
||||
<li>nonlocal</li>
|
||||
<li>not</li>
|
||||
<li>lambda</li>
|
||||
<li>and</li>
|
||||
<li>assert</li>
|
||||
<li>else</li>
|
||||
<li>continue</li>
|
||||
<li>yield</li>
|
||||
<li>property</li>
|
||||
<li>raise</li>
|
||||
<li>from</li>
|
||||
<li>if</li>
|
||||
<li>class</li>
|
||||
<li>or</li>
|
||||
<li>pass</li>
|
||||
<li>break</li>
|
||||
<li>in</li>
|
||||
<li>finally</li>
|
||||
<li>false</li>
|
||||
<li>is</li>
|
||||
<li>elif</li>
|
||||
<li>with</li>
|
||||
<li>as</li>
|
||||
<li>print</li>
|
||||
<li>true</li>
|
||||
<li>self</li>
|
||||
<li>except</li>
|
||||
<li>try</li>
|
||||
<li>exec</li>
|
||||
<li>property</li>
|
||||
<li>raise</li>
|
||||
<li>return</li>
|
||||
<li>self</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>while</li>
|
||||
<li>with</li>
|
||||
<li>yield</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user