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 EndpointOutputAnnotationtrait EndpointInputAnnotationtrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article