OpenAPITools / OpenAPITools/openapi-generator
[REQ] Support Java Code with Common Library
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
It is difficult to handle client configuration in a general fashion. Frequently microservices interact with more than one service and each ApiClient is a distinct class for each service. I have not seen any example or guidance on using multiple generated clients.
Seems at a minimum a common set of interfaces could be used and applied to the generated classes and placed in a common library.
If there is already a strategy in place, please advise.
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.
Research direction
The issue names no files, tests, or specific entry points beyond generated Java ApiClient classes. Start by reviewing how multiple generated clients are currently configured and whether existing guidance covers shared configuration. Done would require a defined, agreed strategy for common interfaces or library support, plus clear documentation and validation criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100