Skip to content

Security scheme ApiKey parameter clarification #187

@Fresa

Description

@Fresa

Security scheme object can define apiKey as security type where in (parameter location) and name (parameter name) is required. It doesn't say anything about whether this parameter needs to be defined by the operation that uses the scheme.

Should it?
Can it?

If it can, then can two operations reference the same api key security object, but declare two different schemas for the parameter?

If there is no parameter defined, how should the parameter's schema be interpret? Empty schema?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions