minor fix to javadoc

This commit is contained in:
William Cheng 2025-04-29 15:41:12 +08:00
parent 9eefc09487
commit 2073b0c9c0
4 changed files with 2 additions and 6 deletions

View File

@ -118,7 +118,6 @@ public class CodegenModel implements IJsonSchemaValidationProperties {
* p2: * p2:
* type: string * type: string
* *
* @return the discriminator.
*/ */
@Getter public CodegenDiscriminator discriminator; @Getter public CodegenDiscriminator discriminator;
@Getter @Setter @Getter @Setter

View File

@ -1405,7 +1405,6 @@ public class OpenAPINormalizer {
* then simply it to just boolean. * then simply it to just boolean.
* *
* @param schema Schema * @param schema Schema
* @return Schema
*/ */
protected void processSimplifyBooleanEnum(Schema schema) { protected void processSimplifyBooleanEnum(Schema schema) {
if (!getRule(SIMPLIFY_BOOLEAN_ENUM)) { if (!getRule(SIMPLIFY_BOOLEAN_ENUM)) {
@ -1425,7 +1424,6 @@ public class OpenAPINormalizer {
* then add x-unsigned to use unsigned integer/long instead. * then add x-unsigned to use unsigned integer/long instead.
* *
* @param schema Schema * @param schema Schema
* @return Schema
*/ */
protected void processAddUnsignedToIntegerWithInvalidMaxValue(Schema schema) { protected void processAddUnsignedToIntegerWithInvalidMaxValue(Schema schema) {
if (!getRule(ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE)) { if (!getRule(ADD_UNSIGNED_TO_INTEGER_WITH_INVALID_MAX_VALUE)) {

View File

@ -157,7 +157,6 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code
* -- SETTER -- * -- SETTER --
* Set whether discriminator value lookup is case-sensitive or not. * Set whether discriminator value lookup is case-sensitive or not.
* *
* @param discriminatorCaseSensitive true if the discriminator value lookup should be case-sensitive.
*/ */
@Setter protected boolean discriminatorCaseSensitive = true; @Setter protected boolean discriminatorCaseSensitive = true;
@Getter @Setter @Getter @Setter

View File

@ -24,8 +24,8 @@ public class TemplateManagerOptions {
/** /**
* Constructs a new instance of {@link TemplateManagerOptions} * Constructs a new instance of {@link TemplateManagerOptions}
* *
* @param minimalUpdate See {@link #isMinimalUpdate()} * @param minimalUpdate Minimal update
* @param skipOverwrite See {@link #isSkipOverwrite()} * @param skipOverwrite Skip overwrite
*/ */
public TemplateManagerOptions(boolean minimalUpdate, boolean skipOverwrite) { public TemplateManagerOptions(boolean minimalUpdate, boolean skipOverwrite) {
this.minimalUpdate = minimalUpdate; this.minimalUpdate = minimalUpdate;