Non HttpMethod in feignClient Interface
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.8k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 41
Description
Hello,
I have been using @FeignClient annotation on the interface to connect to multiple REST clients but now i have a requirement to a add a non-http method in the interface, which throws a runtime exception
exception: method not annotated with HTTP method type (ex. GET, POST)
is their a way to achieve this.
PS: i am looking at this to inject a CircuitBreakerRegistry in the interface, which can be utilized in the fallback methods.
Thank You
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the @FeignClient annotation, the reported exception, and the fallback-method/CircuitBreakerRegistry use case. Done means the requested non-HTTP interface method has a defined supported path or an explicit limitation with corresponding guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100