feign
feign copied to clipboard
Feign makes writing java http clients easier
Tell me how to properly configure the work of Feign and Spring Pageable Here are my Feign settings ``` feign: okhttp: enabled: true autoconfiguration: jackson: enabled: true client: config: default:...
OpenFeign 10.10.1 does not seem to include a valid JPMS module descriptor: ``` $ jar --file=~/.gradle/caches/modules-2/files-2.1/io.github.openfeign/feign-core/10.10.1/d09c5d478b1cd83e95035539687b9ff4905dc99c/feign-core-10.10.1.jar --describe-module No module descriptor found. Derived automatic module. [email protected] automatic requires java.base mandated contains...
I tried using @Validated on class level and @Valid on method and it doesn't work for me. I'm not using Spring boot in my project. 
Is there a way to convert curl request to feign client like i will post a curl request along with a sample json response and it will build and give...
When setting a class level path annotation, the jax-rs2 contract tries to set the base path as the target, which throws an exception because the path segment isn't an HTTP...
I am writting a RequestInterceptor, need to know current "Target" so that I can revise the url of the RequestTemplate. While, I found the RequestTemplate.target is still null when it...
It would be nice if via an annotation at class or method level, there could be a means of specifying an implentation that could supply dynamic values to contexts. Consider...
This kind of code (from https://github.com/OpenFeign/feign/pull/335/files#diff-13815c678552a275075ab18b17c67784R616): ```java @RequestLine("GET /?name={name}") void queryMapWithQueryParams(@Param("name") String name, @QueryMap Map queryMap); ``` Does not work when `@QueryMap` is used on a POJO. In my case,...
Conversion of complex objects to headers is not supported. For example: ``` class AuthInfo{ private String token; private String tenantId; } ``` convert to headers: ``` token: cn-ackjf-123jkljf-sdkfj tenantId: 1111...
```java package feign.slf4j; public class Slf4jLogger extends feign.Logger { ... @Override protected Response logAndRebufferResponse(String configKey, Level logLevel, Response response, long elapsedTime) throws IOException { if (logger.isDebugEnabled()) { return super.logAndRebufferResponse(configKey, logLevel,...