example

sttp.tapir.EndpointIO.annotations.example
class example(val example: Any) extends EndpointInputAnnotation, EndpointOutputAnnotation

Specifies the example value of the endpoint input/output. Note that this is distinct from Schema.annotations.encodedExample, which sets the example on the schema associated with the input/output.

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete fields

val example: Any