spring-cloud-openfeign
spring-cloud-openfeign copied to clipboard
Support for using OpenFeign in Spring Cloud apps
- spring boot version: 2.6.3 - spring cloud version: 2021.0.0 (spring cloud openfeign 3.1.0) spring serializes `Sort` as an object ` "sort": { "empty": true, "sorted": false, "unsorted": true }...
Feign core added a new feature (see [AsyncFeign](https://github.com/OpenFeign/feign/blob/master/core/src/main/java/feign/AsyncFeign.java)) that let you create async clients which returns CompletableFuture. It is still an experimental feature in OpenFeign, but it will be really...
Hi, I saw there is an issue spring-cloud/spring-cloud-netflix#894 which add support for placeholders of value field. But other field such as "headers" still not support placeholder. Since sometimes we need...
If I use interface ``` java public interface UserAPI { @RequestMapping(method = GET, path = "/user/{username:[a-z@A-Z\\d\\.-_]+}" UserDTO getUserByUsername(); } ``` And want to create client as ``` java @FeignClient("service") public...
In our consumption of feign we ran into an issue where we need access to the response status code and response body associated to a client error. We have implemented...
I have an interface for declaring the API, this is one of the methods: ```kotlin @GetMapping fun getPhraseList( @Parameter(hidden = true) assembler: PagedResourcesAssembler, @Parameter(hidden = true) @PageableDefault(sort = [Const.DEFAULT_SORT]) pageable:...
(This leads on from https://github.com/spring-cloud/spring-cloud-openfeign/issues/334 - apologies but at the time I didn't have enough spare time to create a sample application, but I now have). When I try to...
Fixes https://github.com/spring-cloud/spring-cloud-openfeign/issues/470
**Describe the bug** Like the title said. I found that Resilience4j's TimeLimiter always triggered even feign client received response when feign method's return type is not `void`. I'm using: OpenJDK...