feign-reactive icon indicating copy to clipboard operation
feign-reactive copied to clipboard

@ReactiveFeignClient adds path + "/" even if not necessary

Open IrishkA13 opened this issue 6 years ago • 0 comments

feign.reactor.version=1.0.30 Final request path: ReactiveFeignClient.path + "/" + GetMapping.value If GetMapping.value is default "/" is added anyway. The behavior is different from FeignClient

Example:

@GetMapping(produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
Result get(@RequestParam(value = "param") );
@ReactiveFeignClient(
path = "/my/path",
)

Expected (non reactive feign-client behaviour): /my/path?param=... Real: additional '/' is added after ReactiveFeignClient.path /my/path/?param=...

IrishkA13 avatar Nov 16 '19 14:11 IrishkA13