Skip to content

Support for security scheme/auth #37

Open
@czechboy0

Description

@czechboy0

https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#security-scheme-object

Let's do a proposal first, as there are a few ways this could be implemented.

For now, the workaround is to write your own middleware that injects the appropriate headers to every outgoing request.

Example: https://github.com/apple/swift-openapi-generator/tree/main/Examples/auth-client-middleware-example

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/openapiAdding/updating a feature defined in OpenAPI.kind/featureNew feature.status/needs-designNeeds further discussion and a concrete proposal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions