add option, update doc (#15419)

This commit is contained in:
William Cheng
2023-05-05 14:59:33 +08:00
committed by GitHub
parent 7259d812bd
commit 737cb362b0
2 changed files with 2 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|errorObjectType|Error Object type. (This option is for okhttp-gson-next-gen only)| |null|
|fullJavaUtil|whether to use fully qualified name for classes under java.util. This option only works for Java API client| |false|
|generateClientAsBean|For restTemplate, configure whether to create `ApiClient.java` and Apis clients as bean (with `@Component` annotation) | <dl><dt>**false**</dt><dd>No changes to the `ApiClient.java` or Apis are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, create `ApiClient.java` and Apis clients as bean.</dd></dl> | false |
|generateClientAsBean|For resttemplate, configure whether to create `ApiClient.java` and Apis clients as bean (with `@Component` annotation).| |false|
|gradleProperties|Append additional Gradle properties to the gradle.properties file| |null|
|groupId|groupId in generated pom.xml| |org.openapitools|
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |false|