You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Since OpenAPI generator 7.13.0, our patch methods have stopped working. It turns out that #21085 resulted in our client implementations being changed from OkHTTP to the default Feign one, which does not support patch methods. This means that that performance fix has caused a backwards incompatible change in the library.
Furthermore, in the same version, HttpClient5 support was added for feign (#21007). From what I can see, this no longer does anything either - since there are no default clients created, you will never get HttpClient5 nor OkHttp out of the box.
Bug Report Checklist
Description
Since OpenAPI generator 7.13.0, our patch methods have stopped working. It turns out that #21085 resulted in our client implementations being changed from OkHTTP to the default Feign one, which does not support patch methods. This means that that performance fix has caused a backwards incompatible change in the library.
Furthermore, in the same version, HttpClient5 support was added for feign (#21007). From what I can see, this no longer does anything either - since there are no default clients created, you will never get HttpClient5 nor OkHttp out of the box.
openapi-generator version
Changed in 7.13.0
OpenAPI declaration file content or url
Java-Feign HttpClient5
Java-Feign:
Under 7.13.0 (broken):
Java-Feign HttpClient5 builder:
Or Java-Feign builder:
Before merging #21085:
Java-Feign HttpClient5 builder:
Or Java-Feign builder:
Generation Details
See description.
Steps to reproduce
feign
orfeign-hc5
Related issues/PRs
"Broken" in #21085
Suggest a fix
We should either:
Remove the default clients entirely
Support the clients again
The text was updated successfully, but these errors were encountered: