Svelixir.Config.Assets.Api (svelixir v0.11.0)

Copy Markdown

API surface detail — the assets.api: block.

Consulted only when assets.type selects :api or :both. These keys are detail, not switches: setting open_api: true while assets.type is :ui generates nothing.

Summary

Functions

Builds this section, and any nested block, from input.

Types

t()

@type t() :: %Svelixir.Config.Assets.Api{
  endpoint: String.t(),
  open_api: boolean(),
  swagger: boolean(),
  versioning: boolean()
}

Functions

new!(input \\ [])

@spec new!(keyword() | map()) :: t()

Builds this section, and any nested block, from input.

valid?(self)