Skip to content

[I] OpenAPIApiKeySecurityScheme3_2

API key authentication in OpenAPI 3.2, retaining the key name/location and adding deprecation metadata.

[key: `x-${string}`]: any
PropertyTypeDescriptionInherited from
deprecated?booleanSpecifies that a security scheme is deprecated and SHOULD be transitioned out of usage. See https://spec.openapis.org/oas/v3.2.0.html#security-scheme-objectOpenAPISecuritySchemeBase3_2.deprecated
description?stringA short description for security scheme. CommonMark syntax MAY be used for rich text representation.OpenAPISecuritySchemeBase3_2.description
in"header" | "query" | "cookie"The location of the API key.OpenAPIApiKeySecurityScheme3_2.in
namestringThe name of the header, query or cookie parameter to be used.OpenAPI3ApiKeySecurityScheme.name
type"apiKey"ApiKeyOpenAPI3ApiKeySecurityScheme.type