openapi-generator
openapi-generator copied to clipboard
[REQ] Support new RestClient for spring 6.1 clients
The upcoming spring framework 6.1 (planned release date on November 15th, 2023) comes with a new RestClient (next to other 2 spring alternatives : RestTemplates & webclient).
It would make sense to support it as well.
Details can be found here :https://spring.io/blog/2023/07/13/new-in-spring-6-1-restclient
The RestClient
has been released officially with Spring 6.1. Here is the JavaDoc interface:
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/client/RestClient.html
The big benefit would be that one doesn't have to tie in the whole reactor stuff. so I am looking forward for that feature as well.
I try to provide an MR
Docu says RestClient support is in the java generator with library RestClient.
Was merged as part of https://github.com/OpenAPITools/openapi-generator/issues/17571 apparently.
Should probably close this as a dup of https://github.com/OpenAPITools/openapi-generator/issues/17571 - even though that one came later, it's the one the MR was associated with.