wolfadex / elm-open-api / OpenApi.Server.Variable

Corresponds to the Server Variable Object in the OpenAPI specification.

Types


type alias Variable =
OpenApi.Types.Variable

Decoding / Encoding

decode : Json.Decode.Decoder Variable

encode : Variable -> Json.Encode.Value

Querying

default : Variable -> String

description : Variable -> Maybe String

enum : Variable -> List String