swagger-api / swagger-api/swagger-codegen

[Java] To replace auto-generated equals/hashCode with apache commons builder

Open
#3,580 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Java General: Suggestion
Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Replaced auto-generated equals/hashCode with apache commons builder.

Ref: #3578

Swagger-codegen version

2.2.1

Discussion

If anyone also prefers using Apache commons builder, please vote up and we (the community) will implement an option to support it.

Please use -t for the time being to use the customized templates with Apache commons builder.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the customized templates used with -t and the discussion in issue #3578. Determine how an option for Apache Commons builder output should integrate with Swagger Codegen 2.2.1. Done means Java generation can select this equals/hashCode style without requiring custom templates.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.