notarizedPut
inline fun <TParam : Any, TReq : Any, TResp : Any> Route.notarizedPut(info: PutInfo<TParam, TReq, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: suspend PipelineContext<Unit, ApplicationCall>.(TParam) -> Unit): Route
Content copied to clipboard
Notarization for an HTTP Delete 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