OpenApiSpex.Server (open_api_spex v3.10.0) View Source
Defines the OpenApiSpex.Server.t type.
Link to this section Summary
Functions
Builds a Server from a phoenix Endpoint module
from_endpoint(endpoint, opts)
deprecated
Builds a Server from a phoenix Endpoint module
Link to this section Types
Specs
t() :: %OpenApiSpex.Server{
description: String.t() | nil,
url: String.t(),
variables: %{required(String.t()) => OpenApiSpex.ServerVariable.t()}
}
An object representing a Server.
Link to this section Functions
Specs
Builds a Server from a phoenix Endpoint module
This function is deprecated. Use from_endpoint/1 instead.
Specs
Builds a Server from a phoenix Endpoint module