ServerVariable

sttp.apispec.openapi.ServerVariable
final case class ServerVariable(enum: Option[List[String]], default: String, description: Option[String], extensions: ListMap[String, ExtensionValue])

Attributes

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

Members list

Value members

Concrete methods

def addExtension(key: String, value: ExtensionValue): ServerVariable
def default(d: String): ServerVariable
def description(d: String): ServerVariable
def enum(d: List[String]): ServerVariable
def extensions(updated: ListMap[String, ExtensionValue]): ServerVariable

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product