tsoa-next / tsoa-next / BodyProp
Function: BodyProp()
ts
function BodyProp(name?): ParameterDecorator;Defined in: packages/runtime/src/decorators/parameter.ts:15
Binds a single property from the request body to a controller parameter.
Parameters
name?
string
The property name to read from the request body. Defaults to the parameter name.
Returns
ParameterDecorator
