OpenAPITools / OpenAPITools/openapi-generator
[REQ] info property in json
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.
The info property within the json can't be accessed in generated code.
Describe the solution you'd like
I need the info property from the OpenAPI json within the generated code (dio-next generator). More important is the version property.
Additional context
If I can get the info property from the json, I can expose the value within my app and to the backend.
PS: I would like to create a PR, if someone points me into the right direction, where I can add it.
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
Start by tracing the dio-next generator entry point and how it reads the OpenAPI JSON. Determine where the info version should be carried into generated code, then add coverage for exposing that value and verify the generated output. The issue names no files or tests, so the relevant locations must first be identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100