forked from loafle/openapi-generator-original
update option description (#14932)
This commit is contained in:
@@ -22,8 +22,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
||||
|apiName|Must be a valid C# class name. Only used in Generic Host library. Default: Api| |Api|
|
||||
|caseInsensitiveResponseHeaders|Make API response's headers case-insensitive| |false|
|
||||
|conditionalSerialization|Serialize only those properties which are initialized by user, accepted values are true or false, default value is false.| |false|
|
||||
|dateFormat|The default DateTime format.| |yyyy'-'MM'-'dd|
|
||||
|dateTimeFormat|The default DateTime format.| |yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK|
|
||||
|dateFormat|The default Date format (only `generichost` library supports this option).| |yyyy'-'MM'-'dd|
|
||||
|dateTimeFormat|The default DateTime format (only `generichost` library supports this option).| |yyyy'-'MM'-'dd'T'HH':'mm':'ss'.'fffffffK|
|
||||
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true|
|
||||
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|
|
||||
|interfacePrefix|Prefix interfaces with a community standard or widely accepted prefix.| |I|
|
||||
|
||||
@@ -220,11 +220,11 @@ public class CSharpNetCoreClientCodegen extends AbstractCSharpCodegen {
|
||||
this.packageTags);
|
||||
|
||||
addOption(DATE_FORMAT,
|
||||
"The default DateTime format.",
|
||||
"The default Date format (only `generichost` library supports this option).",
|
||||
this.dateFormat);
|
||||
|
||||
addOption(DATETIME_FORMAT,
|
||||
"The default DateTime format.",
|
||||
"The default DateTime format (only `generichost` library supports this option).",
|
||||
this.dateTimeFormat);
|
||||
|
||||
CliOption framework = new CliOption(
|
||||
|
||||
Reference in New Issue
Block a user