notarizedPost

inline fun <TParam : Any, TReq : Any, TResp : Any> Route.notarizedPost(info: PostInfo<TParam, TReq, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: suspend PipelineContext<Unit, ApplicationCall>.(TParam) -> Unit): Route

Notarization for an HTTP POST request leveraging the Ktor io.ktor.locations.Locations plugin

Parameters

TParam

The class containing all parameter fields. Each field must be annotated with @io.bkbn.kompendium.annotations.Param Additionally, the class must be annotated with @io.ktor.locations.Location.

TReq

Class detailing the expected API request body

TResp

Class detailing the expected API response

info

Route metadata

postProcess

Adds an optional callback hook to perform manual overrides on the generated PathOperation