annotations

sttp.tapir.EndpointIO$.annotations$

Annotations which are used by EndpointInput.derived and EndpointOutput.derived to specify how a case class maps to an endpoint input/output.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

sealed trait EndpointInputAnnotation extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Known subtypes
class body[R, CF]
class fileBody
class formBody
class jsonbody
class xmlbody
class cookie
class cookies
class example
class header
class headers
class params
class path
class query
sealed trait EndpointOutputAnnotation extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Known subtypes
class body[R, CF]
class fileBody
class formBody
class jsonbody
class xmlbody
class cookies
class example
class header
class headers
class setCookie
class apikey(val challenge: WWWAuthenticateChallenge) extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class basic(val challenge: WWWAuthenticateChallenge) extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class bearer(val challenge: WWWAuthenticateChallenge) extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class body[R, CF <: CodecFormat](val bodyType: RawBodyType[R], val cf: CF) extends EndpointInputAnnotation with EndpointOutputAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Known subtypes
class byteArrayBody extends body[Array[Byte], OctetStream]

Attributes

Graph
Supertypes
class body[Array[Byte], OctetStream]
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class byteBufferBody extends body[ByteBuffer, OctetStream]

Attributes

Graph
Supertypes
class body[ByteBuffer, OctetStream]
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class cookie(val name: String) extends EndpointInputAnnotation

Attributes

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

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class customise(val f: EndpointTransput[_] => EndpointTransput[_]) extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class description(val text: String) extends EndpointInputAnnotation with EndpointOutputAnnotation

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

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

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class endpointInput(val path: String) extends EndpointInputAnnotation

A class-level annotation, specifies the path to the endpoint. To capture segments of the path, surround the segment's name with {...} (curly braces), and reference the name using annotations.path.

A class-level annotation, specifies the path to the endpoint. To capture segments of the path, surround the segment's name with {...} (curly braces), and reference the name using annotations.path.

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class example(val example: Any) extends EndpointInputAnnotation with 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.

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

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class formBody extends body[String, XWwwFormUrlencoded]

Attributes

Graph
Supertypes
class body[String, XWwwFormUrlencoded]
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class header(val name: String) extends EndpointInputAnnotation with EndpointOutputAnnotation

Attributes

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

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class inputStreamBody extends body[InputStream, OctetStream]

Attributes

Graph
Supertypes
class body[InputStream, OctetStream]
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class jsonbody extends body[String, Json]

Attributes

Graph
Supertypes
class body[String, Json]
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class query(val name: String) extends EndpointInputAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class securitySchemeName(val name: String) extends StaticAnnotation

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class setCookie(val name: String) extends EndpointOutputAnnotation

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
class xmlbody extends body[String, Xml]

Attributes

Graph
Supertypes
class body[String, Xml]
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any