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