OpenAPITools / OpenAPITools/openapi-generator
Question: Migrate from 4.3.1 to 6.6.0 and support for use Spring boot 3 and Spring 6
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Hi every one, I am recently working in migrate the version of plugin. I want to use spring http interface for client generations. in my last version of my custom project generator I was using retrofit2.
In 6.6.0 version I see that in libraries the project has spring http interface, but in my pom of my project how i can set librarie for use this new library.
In my client it's generating annotation with retrofit @POST and I wanna use @PostExchange from spring http interface for my clients operations
openapi-generator version
I am migrating my custom project from 4.3.1 to 6.6.0 of plugin generator
OpenAPI declaration file content or url
I set in my pom in my last version, I don't know how to set for use new libraries of spring http interface and use new annotations for my operation of my client.
<configuration>
<inputSpec>${project.basedir}/src/main/resources/openapi-clientcontract.yaml</inputSpec>
<library>retrofit2</library>
</configuration>
Command line used for generation
Steps to reproduce
Not applied
Related issues/PRs
Not applied
Suggest a fix/enhancement
Not applied
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
Review the Maven configuration using inputSpec and the retrofit2 library, then compare the generated Retrofit annotations with the requested Spring @PostExchange annotations. Confirm which generator option in version 6.6.0 controls this choice; done means a documented configuration or a clearly reproducible support gap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100