Skip to content

Support bearerFormat option in security schemes #1848

Closed as not planned
Closed as not planned
@kelnos

Description

@kelnos

Description

For the http security scheme, with type bearer, there is an optional property bearerFormat that specifies the token that goes first in the Authorization header. This defaults to Bearer, but openapi-ts doesn't support setting this to something else.

I started work to add support for this, but I'm having trouble figuring out how to test my changes. How can I run openap-ts, pointing it at my local copy of client-fetch? I've tried passing the full path to the package in the --client option, as well as installing my local copy of client-fetch into node_modules and just specifying --client client-fetch, but neither worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions