definePut
definePut(
config,execute):object
Defined in: define-route.js:59
Type-inference helper for PUT routes. Alias for definePost —
PUT routes share the same auto-included body typing as POST/PATCH.
Parameters
Section titled “Parameters”config
Section titled “config”object
Middleware configuration (without execute).
execute
Section titled “execute”Function
Route handler receiving the inferred accumulator.
Returns
Section titled “Returns”object
RouteConfig object with config and execute merged.