Example

sttp.apispec.openapi.Example
See theExample companion object
final case class Example(summary: Option[String], description: Option[String], value: Option[ExampleValue], externalValue: Option[String], extensions: ListMap[String, ExtensionValue])

Attributes

Companion
object
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): Example
def description(updated: String): Example
def extensions(updated: ListMap[String, ExtensionValue]): Example
def externalValue(updated: String): Example
def summary(updated: String): Example
def value(updated: ExampleValue): Example

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product