Context
Generated AbstractOpenApiSchema classes override equals(Object) without an @Override annotation. The omission originates in templates-v7/libraries/jersey3/AbstractOpenApiSchema.mustache and affects existing generated classes, including the Document Collector models reviewed in PR #2045.
Proposed Change
Add @Override immediately above equals(Object) in the AbstractOpenApiSchema.mustache template, then regenerate the affected models through the standard SDK automation flow.
Benefit
Makes the override explicit, lets the compiler validate the method signature, and aligns these generated classes with the existing POJO template convention. This is a readability and maintainability improvement with no expected behavior change.
Context
Generated
AbstractOpenApiSchemaclasses overrideequals(Object)without an@Overrideannotation. The omission originates intemplates-v7/libraries/jersey3/AbstractOpenApiSchema.mustacheand affects existing generated classes, including the Document Collector models reviewed in PR #2045.Proposed Change
Add
@Overrideimmediately aboveequals(Object)in theAbstractOpenApiSchema.mustachetemplate, then regenerate the affected models through the standard SDK automation flow.Benefit
Makes the override explicit, lets the compiler validate the method signature, and aligns these generated classes with the existing POJO template convention. This is a readability and maintainability improvement with no expected behavior change.