feign-form
feign-form copied to clipboard
Open Feign form encoder
https://github.com/OpenFeign/feign-form/blob/98e51d187f1b7acba3b39d1131371b761d87259b/feign-form/src/main/java/feign/form/FormEncoder.java#L95 if bodyType‘s typeName is "java.util.map" cannot correct match eg: @RequestLine("POST /user") @Headers("Content-Type: application/x-www-form-urlencoded") void addUser (Map stringObjectMap);
使用openFeign进行文件传输时,@RequestPart("file") MultipartFile file可以成功调用接口服务,而业务需求是调接口时需要传递一个实体对象,这时参数加上一个实体@RequestBoby时,就会报错 
Bumps [spring-boot-starter-web](https://github.com/spring-projects/spring-boot) from 2.1.3.RELEASE to 2.5.12. Release notes Sourced from spring-boot-starter-web's releases. v2.5.12 :lady_beetle: Bug Fixes MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is...
Bumps [spring-boot-starter-web](https://github.com/spring-projects/spring-boot) from 2.1.3.RELEASE to 2.5.12. Release notes Sourced from spring-boot-starter-web's releases. v2.5.12 :lady_beetle: Bug Fixes MustacheAutoConfiguration in a Servlet web application fails with a ClassNotFoundException when Spring MVC is...
Is it possible to use feign-form's support for `application/x-www-form-urlencoded` forms with Spring Cloud's `@EnableFeignClients`/`@FeignClient` setup? Currently, I am getting the following exception when starting the `ApplicationContext`: > `java.lang.IllegalStateException: Method has...
### How to customize the date type serializer ```java @PostMapping(value = "uri", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) String request(@RequestBody DataForm form); ``` ```java @Data public class DataForm implements Serializable { /** *...
Trying to use FormEncoder with Java records results in body being serialized to 0, it seems. converting the record to class appears to work correctly.
Hi, please consider this pull request that adds a `multipart/mixed` feign decoder. This new decoder is based on the existing multipart form decoder. Ideally a common Multipart decoder abstract class...
Final fields are ignored in PojoUtils.toMap: ``` @SneakyThrows public static Map toMap (@NonNull Object object) { val result = new HashMap(); val type = object.getClass(); val setAccessibleAction = new SetAccessibleAction();...
MultipartFormContentProcessor falls back to the Delegate Writer if none of the other writers can handle a field. The PojoWriter loops the other writers to handle fields in an object, but...