[JAVA] support WebClient based (Spring WebFlux framework) client generation
Description
The feature request is to add the capability to generate a client library based on the WebClient API offered by non-blocking Spring WebFlux framework
Suggest a fix/enhancement
A easy starting point could be taking a look at the blocking counterpart "RestTemplate"-based client and swap it with the non-blocking API
Hello!
I would like to start working on this issue
@fjavierjimenez Just created PR with WebClient support to openapi-generator: https://github.com/OpenAPITools/openapi-generator/pull/435
Wait for the PR to be merged or use my branch (https://github.com/daonomic/openapi-generator) for now (It works OK for me) Let me know if something doesn't work for you
Is it resolved? I'm still getting this error when trying to generate webclient version of API:
java.lang.RuntimeException: Unknown library: webclient
Available libraries:
jersey1
feign
jersey2
okhttp-gson
retrofit
retrofit2
resttemplate
resteasy
@vchernogorov It was added to https://github.com/OpenAPITools/openapi-generator not swagger-codegen
Please explain in details how do you solved this