OpenAPITools / OpenAPITools/openapi-generator
[REQ] Feature Request Add @Operation/@ApiResponse etc to generated code for java-helidon-server
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.
Currently I am using the java-helidon-server with Helidon MP 4.1.4 OpenApi-Generator, from the helidon-petclinic. I can get it to generate but it does not generate @Operation/@ApiResponse annotations based from the openapi.yml. Currently it just annotates Api with @Path,@Consumes/Produces, and Http Methods
Describe the solution you'd like
It would be nice to for it to generate @Operation/@ApiResponse annotations for the Rest Endpoint it generate
Describe alternatives you've considered
N/A
Additional context
N/A
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 with the java-helidon-server generator and the helidon-petclinic openapi.yml example; inspect how generated APIs currently receive @Path, @Consumes/@Produces, and HTTP-method annotations. Reproduce generation with Helidon MP 4.1.4 and compare the output with the OpenAPI operations and responses. Done means generated endpoints include the requested @Operation and @ApiResponse annotations with regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, openapi
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100