feign icon indicating copy to clipboard operation
feign copied to clipboard

Add typed response

Open nikita-sheremet-clearscale opened this issue 3 years ago • 2 comments

For now working with response scan be do via two ways:

import feign.Response

@RequestLine("GET /dtos")
public MyDto dtos()

@RequestLine("GET /dtos")
public Response dtos()

But what if I need both headers and MyDto parsed? I think it is better to have an additional class like ResponseTyped which is the same as Response but instead of body has MyDto parsed.

It would be awesome to have such functionality... we are still waiting for someone to take the initiative to make it happen

velo avatar Jun 07 '22 21:06 velo

+1

gdellorusso avatar May 08 '23 14:05 gdellorusso