Skip to content

Adding authorization info #239

@Isaac-Leonard

Description

@Isaac-Leonard

I'm currently trying to use this for a project I'm working on and can't seem to add authorisation information to requests.
The generated types ignores the security scheme information in the openapi document and manually trying to wrap the RequestFn seems error prone, particularly as the headers on RequestInfo are marked as readonly so I'm not sure if I should be modifying them.
Is there a best way to achive adding headers to requests or even better, proper authorisation management?
If it's not currently possible would this be worth adding?
I'm happy to make a PR with some guidance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions