Skip to content

Security requirement scopes are typed as strings #2775

Description

@kriptoburak

The OpenAPI 2.0 and 3.x Security Requirement Object maps each scheme name to an array of scope strings. The local TypeScript interfaces currently type those values as plain strings in both v2 and v3. This makes parsed security arrays such as { apiKey: [] } and { oauthBearer: [] } disagree with the project interfaces even though they are valid OpenAPI documents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions