forked from loafle/openapi-generator-original
[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,28 +5,28 @@ sidebar_label: javascript
|
||||
|
||||
| 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|
|
||||
|sourceFolder|source folder for generated code| |src|
|
||||
|invokerPackage|root package for generated code| |null|
|
||||
|apiPackage|package for generated api classes| |null|
|
||||
|modelPackage|package for generated models| |null|
|
||||
|projectName|name of the project (Default: generated from info.title or "openapi-js-client")| |null|
|
||||
|moduleName|module name for AMD, Node or globals (Default: generated from <projectName>)| |null|
|
||||
|projectDescription|description of the project (Default: using info.description or "Client library of <projectName>")| |null|
|
||||
|projectVersion|version of the project (Default: using info.version or "1.0.0")| |null|
|
||||
|licenseName|name of the license the project uses (Default: using info.license.name)| |null|
|
||||
|usePromises|use Promises as return values from the client API, instead of superagent callbacks| |false|
|
||||
|emitModelMethods|generate getters and setters for model properties| |false|
|
||||
|emitJSDoc|generate JSDoc comments| |true|
|
||||
|useInheritance|use JavaScript prototype chains & delegation for inheritance| |true|
|
||||
|emitModelMethods|generate getters and setters for model properties| |false|
|
||||
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|
||||
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|
|
||||
|useES6|use JavaScript ES6 (ECMAScript 6) (beta). Default is ES6.| |true|
|
||||
|invokerPackage|root package for generated code| |null|
|
||||
|licenseName|name of the license the project uses (Default: using info.license.name)| |null|
|
||||
|modelPackage|package for generated models| |null|
|
||||
|modelPropertyNaming|Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name| |camelCase|
|
||||
|moduleName|module name for AMD, Node or globals (Default: generated from <projectName>)| |null|
|
||||
|npmRepository|Use this property to set an url your private npmRepo in the package.json| |null|
|
||||
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|
||||
|projectDescription|description of the project (Default: using info.description or "Client library of <projectName>")| |null|
|
||||
|projectName|name of the project (Default: generated from info.title or "openapi-js-client")| |null|
|
||||
|projectVersion|version of the project (Default: using info.version or "1.0.0")| |null|
|
||||
|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| |src|
|
||||
|useES6|use JavaScript ES6 (ECMAScript 6) (beta). Default is ES6.| |true|
|
||||
|useInheritance|use JavaScript prototype chains & delegation for inheritance| |true|
|
||||
|usePromises|use Promises as return values from the client API, instead of superagent callbacks| |false|
|
||||
|
||||
## IMPORT MAPPING
|
||||
|
||||
@@ -47,93 +47,93 @@ sidebar_label: javascript
|
||||
|
||||
<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>Array</li>
|
||||
<li>Blob</li>
|
||||
<li>Boolean</li>
|
||||
<li>Date</li>
|
||||
<li>File</li>
|
||||
<li>Number</li>
|
||||
<li>Object</li>
|
||||
<li>String</li>
|
||||
<li>Boolean</li>
|
||||
<li>File</li>
|
||||
<li>Date</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>date</li>
|
||||
<li>synchronized</li>
|
||||
<li>debugger</li>
|
||||
<li>isfinite</li>
|
||||
<li>do</li>
|
||||
<li>float</li>
|
||||
<li>while</li>
|
||||
<li>hasownproperty</li>
|
||||
<li>number</li>
|
||||
<li>protected</li>
|
||||
<li>continue</li>
|
||||
<li>else</li>
|
||||
<li>function</li>
|
||||
<li>let</li>
|
||||
<li>nan</li>
|
||||
<li>catch</li>
|
||||
<li>export</li>
|
||||
<li>if</li>
|
||||
<li>case</li>
|
||||
<li>new</li>
|
||||
<li>package</li>
|
||||
<li>static</li>
|
||||
<li>void</li>
|
||||
<li>in</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>abstract</li>
|
||||
<li>arguments</li>
|
||||
<li>array</li>
|
||||
<li>boolean</li>
|
||||
<li>break</li>
|
||||
<li>byte</li>
|
||||
<li>case</li>
|
||||
<li>catch</li>
|
||||
<li>char</li>
|
||||
<li>class</li>
|
||||
<li>const</li>
|
||||
<li>continue</li>
|
||||
<li>date</li>
|
||||
<li>debugger</li>
|
||||
<li>default</li>
|
||||
<li>delete</li>
|
||||
<li>do</li>
|
||||
<li>double</li>
|
||||
<li>var</li>
|
||||
<li>finally</li>
|
||||
<li>this</li>
|
||||
<li>isprototypeof</li>
|
||||
<li>throws</li>
|
||||
<li>else</li>
|
||||
<li>enum</li>
|
||||
<li>eval</li>
|
||||
<li>export</li>
|
||||
<li>extends</li>
|
||||
<li>null</li>
|
||||
<li>transient</li>
|
||||
<li>false</li>
|
||||
<li>final</li>
|
||||
<li>finally</li>
|
||||
<li>float</li>
|
||||
<li>for</li>
|
||||
<li>function</li>
|
||||
<li>goto</li>
|
||||
<li>hasownproperty</li>
|
||||
<li>if</li>
|
||||
<li>implements</li>
|
||||
<li>import</li>
|
||||
<li>in</li>
|
||||
<li>infinity</li>
|
||||
<li>instanceof</li>
|
||||
<li>int</li>
|
||||
<li>interface</li>
|
||||
<li>isfinite</li>
|
||||
<li>isnan</li>
|
||||
<li>isprototypeof</li>
|
||||
<li>let</li>
|
||||
<li>long</li>
|
||||
<li>math</li>
|
||||
<li>nan</li>
|
||||
<li>native</li>
|
||||
<li>new</li>
|
||||
<li>null</li>
|
||||
<li>number</li>
|
||||
<li>object</li>
|
||||
<li>package</li>
|
||||
<li>private</li>
|
||||
<li>protected</li>
|
||||
<li>prototype</li>
|
||||
<li>public</li>
|
||||
<li>return</li>
|
||||
<li>short</li>
|
||||
<li>static</li>
|
||||
<li>string</li>
|
||||
<li>super</li>
|
||||
<li>switch</li>
|
||||
<li>synchronized</li>
|
||||
<li>this</li>
|
||||
<li>throw</li>
|
||||
<li>throws</li>
|
||||
<li>tostring</li>
|
||||
<li>transient</li>
|
||||
<li>true</li>
|
||||
<li>try</li>
|
||||
<li>math</li>
|
||||
<li>object</li>
|
||||
<li>implements</li>
|
||||
<li>private</li>
|
||||
<li>const</li>
|
||||
<li>import</li>
|
||||
<li>string</li>
|
||||
<li>valueof</li>
|
||||
<li>for</li>
|
||||
<li>interface</li>
|
||||
<li>isnan</li>
|
||||
<li>delete</li>
|
||||
<li>long</li>
|
||||
<li>switch</li>
|
||||
<li>undefined</li>
|
||||
<li>default</li>
|
||||
<li>goto</li>
|
||||
<li>public</li>
|
||||
<li>native</li>
|
||||
<li>array</li>
|
||||
<li>yield</li>
|
||||
<li>class</li>
|
||||
<li>typeof</li>
|
||||
<li>break</li>
|
||||
<li>false</li>
|
||||
<li>undefined</li>
|
||||
<li>valueof</li>
|
||||
<li>var</li>
|
||||
<li>void</li>
|
||||
<li>volatile</li>
|
||||
<li>abstract</li>
|
||||
<li>prototype</li>
|
||||
<li>int</li>
|
||||
<li>instanceof</li>
|
||||
<li>super</li>
|
||||
<li>while</li>
|
||||
<li>with</li>
|
||||
<li>boolean</li>
|
||||
<li>throw</li>
|
||||
<li>char</li>
|
||||
<li>short</li>
|
||||
<li>arguments</li>
|
||||
<li>infinity</li>
|
||||
<li>tostring</li>
|
||||
<li>return</li>
|
||||
<li>yield</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user