Skip to content

Commit d04c0dd

Browse files
authored
minor fix to javadoc (OpenAPITools#21177)
1 parent afa135f commit d04c0dd

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
118118
* p2:
119119
* type: string
120120
*
121-
* @return the discriminator.
122121
*/
123122
@Getter public CodegenDiscriminator discriminator;
124123
@Getter @Setter

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

-2
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,6 @@ protected Schema processSimplifyAnyOf(Schema schema) {
14051405
* then simply it to just boolean.
14061406
*
14071407
* @param schema Schema
1408-
* @return Schema
14091408
*/
14101409
protected void processSimplifyBooleanEnum(Schema schema) {
14111410
if (!getRule(SIMPLIFY_BOOLEAN_ENUM)) {
@@ -1425,7 +1424,6 @@ protected void processSimplifyBooleanEnum(Schema schema) {
14251424
* then add x-unsigned to use unsigned integer/long instead.
14261425
*
14271426
* @param schema Schema
1428-
* @return Schema
14291427
*/
14301428
protected void processAddUnsignedToIntegerWithInvalidMaxValue(Schema schema) {
14311429
if (!getRule(ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE)) {

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

-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ protected enum ENUM_PROPERTY_NAMING_TYPE {MACRO_CASE, legacy, original}
157157
* -- SETTER --
158158
* Set whether discriminator value lookup is case-sensitive or not.
159159
*
160-
* @param discriminatorCaseSensitive true if the discriminator value lookup should be case-sensitive.
161160
*/
162161
@Setter protected boolean discriminatorCaseSensitive = true;
163162
@Getter @Setter

modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/TemplateManagerOptions.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public class TemplateManagerOptions {
2424
/**
2525
* Constructs a new instance of {@link TemplateManagerOptions}
2626
*
27-
* @param minimalUpdate See {@link #isMinimalUpdate()}
28-
* @param skipOverwrite See {@link #isSkipOverwrite()}
27+
* @param minimalUpdate Minimal update
28+
* @param skipOverwrite Skip overwrite
2929
*/
3030
public TemplateManagerOptions(boolean minimalUpdate, boolean skipOverwrite) {
3131
this.minimalUpdate = minimalUpdate;

0 commit comments

Comments
 (0)