feign
feign copied to clipboard
Add typed response
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
+1