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
The problem I'm facing is that the second client (in module B) proxies only the calls to getAccount() and for all the methods inherited from AccountsApi e.g. (AccountsApi.searchForAccounts()) returns 501 (NOT_IMPLEMENTED).
How can I fix this and have proxy for inherited methods either?
I use Spring Boot 2.7.17 and org.springframework.cloud:spring-cloud-starter-openfeign:3.1.8.
The text was updated successfully, but these errors were encountered:
stsypanov
changed the title
Feign Client does not proxy the methods inherited from interface if there are manually added ones
Feign does not proxy the methods inherited from interface if there are manually added ones
Nov 22, 2023
In my project I have common module with API interfaces generated from OpenAPI spec:
There are two modules with Feign clients implementing this interface:
The problem I'm facing is that the second client (in module B) proxies only the calls to
getAccount()
and for all the methods inherited fromAccountsApi
e.g. (AccountsApi.searchForAccounts()
) returns 501 (NOT_IMPLEMENTED
).How can I fix this and have proxy for inherited methods either?
I use Spring Boot 2.7.17 and
org.springframework.cloud:spring-cloud-starter-openfeign:3.1.8
.Originally it was question on StackOverflow: https://stackoverflow.com/questions/77515201/feign-client-does-not-proxy-the-methods-inherited-from-interface-if-there-are-ma
The text was updated successfully, but these errors were encountered: