Server

zio.http.endpoint.openapi.OpenAPI.Server
final case class Server(url: URI, description: Option[Doc], variables: Map[String, ServerVariable])

An object representing a Server.

Value parameters

description

Describing the host designated by the URL.

url

A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the OpenAPI document is being served. Variable substitutions will be made when a variable is named in {brackets}.

variables

A map between a variable name and its value. The value is used for substitution in the server’s URL template.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product