OpenAPITools / OpenAPITools/openapi-generator
[REQ] enable codegen to use shared code for shared definition files
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
when generating python code, i ant reuse shared definitions from imported files,
instead the code has to be duplicated in multiple modules
Describe the solution you'd like
the code-generator can be infomed of modules implementing the definitions of some shared files
Describe alternatives you've considered
doesn't apply
Additional context
i created this issue for tracking, i will update with some reasonably sized examples as soon as they are created (hopefully today, else tommorow morning)
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 entry points and is explicitly a tracking request awaiting examples. Start by locating the code-generation handling for imported or shared definition files and the Python generator; done means allowing configured modules to provide shared definitions without duplicating them across generated modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi, python
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100