openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[REQ] Support new RestClient for spring 6.1 clients

Open jbkervyn opened this issue 1 year ago • 6 comments

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

jbkervyn avatar Oct 25 '23 12:10 jbkervyn

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

straurob avatar Nov 24 '23 06:11 straurob

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.

dwlabcube avatar Dec 04 '23 10:12 dwlabcube

I try to provide an MR

rfelgent avatar Mar 04 '24 10:03 rfelgent

Docu says RestClient support is in the java generator with library RestClient.

twonky4 avatar May 07 '24 09:05 twonky4

Was merged as part of https://github.com/OpenAPITools/openapi-generator/issues/17571 apparently.

ppa-fyayc avatar May 07 '24 11:05 ppa-fyayc

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.

madorb avatar May 07 '24 17:05 madorb