tapir
package
tapir
Linear Supertypes
Tapir
,
TapirDerivedInputs
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
tapir
Tapir
TapirDerivedInputs
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
AnyCodec
=
Codec
[_, _ <:
MediaType
, _]
type
AnyCodecForMany
=
CodecForMany
[_, _ <:
MediaType
, _]
type
AnyCodecMeta
=
CodecMeta
[_ <:
MediaType
, _]
type
AnyPart
=
Part
[_]
type
RawPart
=
Part
[_]
Value Members
def
auth
:
TapirAuth
.type
Definition Classes
Tapir
def
binaryBody
[
T
]
(
implicit
codec:
CodecForOptional
[
T
,
OctetStream
, _]
)
:
Body
[
T
,
OctetStream
, _]
Definition Classes
Tapir
def
body
[
T
,
M <:
MediaType
]
(
implicit
tm:
CodecForOptional
[
T
,
M
, _]
)
:
Body
[
T
,
M
, _]
Definition Classes
Tapir
def
clientIp
:
EndpointInput
[
Option
[
String
]]
Definition Classes
TapirDerivedInputs
def
cookie
[
T
]
(
name:
String
)
(
implicit
arg0:
PlainCodecForOptional
[
T
]
)
:
Cookie
[
T
]
Definition Classes
Tapir
def
cookies
:
Header
[
List
[
Cookie
]]
Definition Classes
Tapir
def
emptyOutput
:
EndpointOutput
[
Unit
]
Definition Classes
Tapir
val
endpoint
:
Endpoint
[
Unit
,
Unit
,
Unit
,
Nothing
]
Definition Classes
Tapir
def
extractFromRequest
[
T
]
(
f: (
ServerRequest
) ⇒
T
)
:
ExtractFromRequest
[
T
]
Definition Classes
Tapir
def
formBody
[
T
]
(
implicit
codec:
CodecForOptional
[
T
,
XWwwFormUrlencoded
, _]
)
:
Body
[
T
,
XWwwFormUrlencoded
, _]
Definition Classes
Tapir
def
header
[
T
]
(
name:
String
)
(
implicit
arg0:
PlainCodecForMany
[
T
]
)
:
Header
[
T
]
Definition Classes
Tapir
def
headers
:
Headers
Definition Classes
Tapir
val
htmlBodyUtf8
:
Body
[
String
,
TextHtml
,
String
]
Definition Classes
Tapir
def
jsonBody
[
T
]
(
implicit
codec:
CodecForOptional
[
T
,
Json
, _]
)
:
Body
[
T
,
Json
, _]
Definition Classes
Tapir
def
multipartBody
[
T
]
(
implicit
codec:
CodecForOptional
[
T
,
MultipartFormData
, _]
)
:
Body
[
T
,
MultipartFormData
, _]
Definition Classes
Tapir
def
oneOf
[
I
]
(
firstCase:
StatusMapping
[_ <:
I
]
,
otherCases:
StatusMapping
[_ <:
I
]*
)
:
OneOf
[
I
]
Definition Classes
Tapir
def
path
[
T
]
(
name:
String
)
(
implicit
arg0:
PlainCodec
[
T
]
)
:
PathCapture
[
T
]
Definition Classes
Tapir
def
path
[
T
]
(
implicit
arg0:
PlainCodec
[
T
]
)
:
PathCapture
[
T
]
Definition Classes
Tapir
def
paths
:
PathsCapture
Definition Classes
Tapir
def
plainBody
[
T
]
(
implicit
codec:
CodecForOptional
[
T
,
TextPlain
, _]
)
:
Body
[
T
,
TextPlain
, _]
Definition Classes
Tapir
def
query
[
T
]
(
name:
String
)
(
implicit
arg0:
PlainCodecForMany
[
T
]
)
:
Query
[
T
]
Definition Classes
Tapir
def
queryParams
:
QueryParams
Definition Classes
Tapir
def
schemaFor
[
T
]
(
implicit
arg0:
SchemaFor
[
T
]
)
:
Schema
Definition Classes
Tapir
package
server
def
setCookie
(
name:
String
)
:
Header
[
SetCookieValue
]
Definition Classes
Tapir
def
setCookies
:
Header
[
List
[
SetCookie
]]
Definition Classes
Tapir
def
statusCode
(
statusCode:
StatusCode
)
:
FixedStatusCode
Definition Classes
Tapir
def
statusCode
:
StatusCode
Definition Classes
Tapir
def
statusDefaultMapping
[
O
]
(
output:
EndpointOutput
[
O
]
)
(
implicit
arg0:
ClassTag
[
O
]
)
:
StatusMapping
[
O
]
Definition Classes
Tapir
def
statusMapping
[
O
]
(
statusCode:
StatusCode
,
output:
EndpointOutput
[
O
]
)
(
implicit
arg0:
ClassTag
[
O
]
)
:
StatusMapping
[
O
]
Definition Classes
Tapir
def
streamBody
[
S
]
(
schema:
Schema
,
mediaType:
MediaType
)
:
Body
[
S
,
mediaType
.type]
Definition Classes
Tapir
def
stringBody
(
charset:
Charset
)
:
Body
[
String
,
TextPlain
,
String
]
Definition Classes
Tapir
def
stringBody
(
charset:
String
)
:
Body
[
String
,
TextPlain
,
String
]
Definition Classes
Tapir
def
stringBody
:
Body
[
String
,
TextPlain
,
String
]
Definition Classes
Tapir
implicit
def
stringToPath
(
s:
String
)
:
EndpointInput
[
Unit
]
Definition Classes
Tapir
Inherited from
Tapir
Inherited from
TapirDerivedInputs
Inherited from
AnyRef
Inherited from
Any
Ungrouped