Info

sttp.tapir.EndpointIO$.Info
See theInfo companion object
case class Info[T](description: Option[String], examples: List[Example[T]], deprecated: Boolean, attributes: AttributeMap)

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def attribute[A](k: AttributeKey[A]): Option[A]
def attribute[A](k: AttributeKey[A], v: A): Info[T]
def deprecated(d: Boolean): Info[T]
def description(d: String): Info[T]
def example: Option[T]
def example(value: T): Info[T]
def example(example: Example[T]): Info[T]
def examples(ts: List[Example[T]]): Info[T]
def map[U](codec: Mapping[T, U]): Info[U]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product