Skip to content

Add typed response #1627

@nikita-sheremet-clearscale

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalProposed Specification or API changewaiting for votesEnhancements or changes proposed that need more support before consideration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions