Skip to content

Custom Header brokes the autogen client #269

@jacopocarlini

Description

@jacopocarlini

I try to use this tool to generate the client from this swagger

In the swagger we have a custom X-Request-Id header in request and response and this is a problem for the tool.

I found that the only allowed headers are:
export declare type RequestHeaderKey = "Accept-Encoding" | "Authorization" | "Content-Type" | "Host" | "If-None-Match" | "Ocp-Apim-Subscription-Key" | "X-Functions-Key";

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