Skip to content

Generate Client without HttpResponse / ".data" #267

Closed
@laktak

Description

@laktak

Could swagger-typescript-api generate a client that returns

  • Promise<T>
  • instead of Promise<HttpResponse<T, E>>?

99% of the time I'm only interested in the actual data and doing .data makes the code less readable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions