[Chore] Add @Override to generated OpenAPI schemas
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 84/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- java
- Domain
- api, backend-api-design
Research direction
Start with templates-v7/libraries/jersey3/AbstractOpenApiSchema.mustache and inspect the generated equals(Object) method. Add the annotation in the template, then use the standard SDK automation flow to regenerate the affected models. Done means the regenerated AbstractOpenApiSchema classes include @Override above equals(Object) without behavior changes.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Java
- Stars
- 148
- Forks
- 158
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Adyen/adyen-java-api-library
-
do not stale
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Adyen/adyen-java-api-library#2028 · 1 comment ·
-
Bug report do not stale
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Adyen/adyen-java-api-library#1953 · 2 comments ·
-
Bug report do not stale
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Adyen/adyen-java-api-library#1878 · 2 comments ·
-
do not stale Feature
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Adyen/adyen-java-api-library#1910 · 2 comments ·
-
do not stale Feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Adyen/adyen-java-api-library#1899 · 8 comments · 2 reactions ·
All issues in Adyen/adyen-java-api-library
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100