Server

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

An object representing a Server.

Attributes

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.

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

Members list

Concise view

Value members

Concrete methods

override def toJson: String

Attributes

Definition Classes
OpenAPIBase

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product