update java default value (#1949)

This commit is contained in:
William Cheng 2019-01-21 01:47:49 +08:00 committed by GitHub
parent 06824622bf
commit f415332406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
25 changed files with 77 additions and 46 deletions

View File

@ -0,0 +1,12 @@
---
id: generator-opts-server-graphql-nodejs-express-server
title: Config Options for graphql-nodejs-express-server
sidebar_label: graphql-nodejs-express-server
---
| Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- |
|packageName|GraphQL Node.js Express server package name (convention: lowercase).| |openapi3graphql-server|
|packageVersion|GraphQL Node.js Express server package version.| |1.0.0|
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|

View File

@ -0,0 +1,19 @@
---
id: generator-opts-server-python-aiohttp
title: Config Options for python-aiohttp
sidebar_label: python-aiohttp
---
| Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- |
|sortParamsByRequiredFlag|Sort method arguments 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|
|serverPort|TCP port to listen to in app.run| |8080|

View File

@ -75,9 +75,9 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code
protected String artifactVersion = "1.0.0";
protected String artifactUrl = "https://github.com/openapitools/openapi-generator";
protected String artifactDescription = "OpenAPI Java";
protected String developerName = "OpenAPI";
protected String developerName = "OpenAPI-Generator Contributors";
protected String developerEmail = "team@openapitools.org";
protected String developerOrganization = "OpenAPI";
protected String developerOrganization = "OpenAPITools.org";
protected String developerOrganizationUrl = "http://openapitools.org";
protected String scmConnection = "scm:git:git@github.com:openapitools/openapi-generator.git";
protected String scmDeveloperConnection = "scm:git:git@github.com:openapitools/openapi-generator.git";

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -22,9 +22,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>

View File

@ -24,9 +24,9 @@
<developers>
<developer>
<name>OpenAPI</name>
<name>OpenAPI-Generator Contributors</name>
<email>team@openapitools.org</email>
<organization>OpenAPI</organization>
<organization>OpenAPITools.org</organization>
<organizationUrl>http://openapitools.org</organizationUrl>
</developer>
</developers>