View Source Swagdox.Authorization (swagdox v0.2.0)

Defines a security scheme for an OpenAPI document.

Summary

Types

@type t() :: %Swagdox.Authorization{
  description: String.t(),
  name: String.t(),
  properties: map(),
  type: String.t()
}

Functions

@spec extract(module()) :: [t()]
@spec extract_scheme(list()) :: t()
Link to this function

init(type, name, description, properties)

View Source
@spec init(String.t(), String.t(), String.t(), map()) :: t()
@spec render(t()) :: map()