I'm using Openapi 3 to generate java http client.
In my maven plugin configuration, I'm using "resttemplate" :
So I was expecting as a result Spring RestTemplate classes to make HTTP calls.
But in generated sources, I got ApiClient class to handle HTTP calls. ApiClient comes from Jersey library. There's no mention about Spring RestTemplate classes :
Is this normal ?


From the documentation at this link: https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/spring.md
Search for the
libraryconfig option in the big table, and you'll see that the two choices for thelibraryconfig option arespring-bootorspring-cloud. You're usingresttemplate, which is not valid.(You're using version 5.1.0 of the generator, I'm using 5.0.0, but I'm pretty sure the link I provided applies to both.)