This repository was archived by the owner on Dec 31, 2024. It is now read-only.
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
Could not use@Requestboby annotation for Map,User together with ‘feign-form-spring’ and 'feign-form' #19
Closed
Description
When I use ‘feign-form-spring’ and 'feign-form' in my springcloud project.I found that I could not use@Requestboby annotation for Map,User like below:
public String postBobyAParamAPathVar( @RequestBody(required=true) Map<String, Object> map, @RequestParam(value="userName") String userName, @PathVariable(value="id") String id){ ....... }
Activity
xxlabaza commentedon Nov 24, 2017
Try to use newer version 3.0.0
this code works there:
Feign client:
Spring server:
SoulSong commentedon Jan 16, 2018
Thanks for reply.It works well.