Skip to content

Commit 86240f4

Browse files
authored
better wordings for CLASS_MODIFIER (#7233)
1 parent 5bb27c2 commit 86240f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/generators/aspnetcore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_label: aspnetcore
77
| ------ | ----------- | ------ | ------- |
88
|aspnetCoreVersion|ASP.NET Core version: 3.1, 3.0, 2.2, 2.1, 2.0 (deprecated)| |2.2|
99
|buildTarget|Target to build an application or library| |program|
10-
|classModifier|Class Modifier can be empty, abstract| ||
10+
|classModifier|Class Modifier for controller classes: Empty string or abstract.| ||
1111
|compatibilityVersion|ASP.Net Core CompatibilityVersion| |Version_2_2|
1212
|enumNameSuffix|Suffix that will be appended to all enum names.| |Enum|
1313
|enumValueSuffix|Suffix that will be appended to all enum values.| |Enum|

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AspNetCoreServerCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class AspNetCoreServerCodegen extends AbstractCSharpCodegen {
6969
protected String serverHost = "0.0.0.0";
7070
protected CliOption swashbuckleVersion = new CliOption(SWASHBUCKLE_VERSION, "Swashbuckle version: 3.0.0, 4.0.0, 5.0.0");
7171
protected CliOption aspnetCoreVersion = new CliOption(ASPNET_CORE_VERSION, "ASP.NET Core version: 3.1, 3.0, 2.2, 2.1, 2.0 (deprecated)");
72-
private CliOption classModifier = new CliOption(CLASS_MODIFIER, "Class Modifier can be empty, abstract");
72+
private CliOption classModifier = new CliOption(CLASS_MODIFIER, "Class Modifier for controller classes: Empty string or abstract.");
7373
private CliOption operationModifier = new CliOption(OPERATION_MODIFIER, "Operation Modifier can be virtual or abstract");
7474
private CliOption modelClassModifier = new CliOption(MODEL_CLASS_MODIFIER, "Model Class Modifier can be nothing or partial");
7575
private boolean generateBody = true;

0 commit comments

Comments
 (0)