View Source Swagdox.Security (swagdox v0.1.0)

Defines an authorization option for an endpoint in an OpenAPI specification.

Summary

Types

@type t() :: %Swagdox.Security{name: String.t(), scopes: [String.t()]}

Functions

@spec build(String.t()) :: t()
@spec build(String.t(), [String.t()]) :: t()
@spec render(t()) :: map()