Spikard.SecuritySchemeInfo (spikard v0.17.0)

Copy Markdown

Security scheme types

Summary

Types

t()

Security scheme types

Functions

Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.

Types

api_key()

@type api_key() :: %{type: :api_key, location: String.t(), name: String.t()}

http()

@type http() :: %{type: :http, scheme: String.t(), bearer_format: String.t()}

t()

@type t() :: term()

Security scheme types

Functions

api_key(location, name)

http(scheme, bearer_format)

wire_value(value)

@spec wire_value(t()) :: String.t()

Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.