notarizedOptions

inline fun <TParam : Any, TResp : Any> Route.notarizedOptions(info: OptionsInfo<TParam, TResp>, postProcess: (PathOperation) -> PathOperation = { p -> p }, noinline body: PipelineInterceptor<Unit, ApplicationCall>): Route

Notarization for an HTTP OPTION request

Parameters

TParam

The class containing all parameter fields. Each field must be annotated with @Param

TResp

Class detailing the expected API response

info

Route metadata

postProcess

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