documentedPost
inline fun <Res : Any> Route.
Deprecated
Use typedPost with doc = OpenApiDoc(...).
Replace with
typedPost<Res>(path = path, doc = OpenApiDoc(summary = summary, description = description, tags = tags, successStatus = successStatus, errorStatuses = errorStatuses, responseEnvelope = responseEnvelope), body = body)Content copied to clipboard
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)(source)(source)
Deprecated
Use typedPost with doc = OpenApiDoc(...).
Replace with
typedPost<Req, Res>(path = path, doc = OpenApiDoc(summary = summary, description = description, tags = tags, successStatus = successStatus, errorStatuses = errorStatuses, responseEnvelope = responseEnvelope), body = body)Content copied to clipboard