APIKey
zio.blocks.openapi.SecurityScheme.APIKey
final case class APIKey(name: String, in: APIKeyLocation, description: Option[Doc] = ..., extensions: ChunkMap[String, Json] = ...) extends SecurityScheme
API key authentication.
Value parameters
- description
-
A description for security scheme. CommonMark syntax MAY be used for rich text representation.
- extensions
-
Specification extensions (x-* fields). These allow adding additional properties beyond the standard OpenAPI fields.
- in
-
REQUIRED. The location of the API key.
- name
-
REQUIRED. The name of the header, query or cookie parameter to be used.
Attributes
- Source
- OpenAPI.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SecuritySchemeclass Objecttrait Matchableclass Any
Members list
In this article