Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
object ResponseDsl
DSL marker class holding OpenAPI response metadata for a route handler. These functions are no-ops at runtime and only serve route-documentation metadata.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <Res : Any> Route.
inline fun <Req : Any, Res : Any> Route.documentedPost(path: String = "", summary: String = "", description: String = "", tags: List<String> = emptyList(), successStatus: Int = 200, errorStatuses: Set<Int> = emptySet(), responseEnvelope: Boolean = false, noinline body: suspend RoutingContext.() -> Unit)
Link copied to clipboard
inline fun <Req : Any, Res : Any> Route.documentedPut(path: String = "", summary: String = "", description: String = "", tags: List<String> = emptyList(), successStatus: Int = 200, errorStatuses: Set<Int> = emptySet(), responseEnvelope: Boolean = false, noinline body: suspend RoutingContext.() -> Unit)
Link copied to clipboard
inline fun <Res : Any> Route.typedDelete(path: String = "", doc: OpenApiDoc = OpenApiDoc(), noinline body: suspend RoutingContext.() -> Unit)
Link copied to clipboard