Skip to content

tsoa-next / @tsoa-next/runtime / RequestProp

Function: RequestProp() ​

ts
function RequestProp(name?): ParameterDecorator;

Defined in: packages/runtime/src/decorators/parameter.ts:31

Binds a property from the underlying runtime request object.

Parameters ​

name? ​

string

The request property name to read. Defaults to the parameter name.

Returns ​

ParameterDecorator

TypeScript-first OpenAPI generation, route generation, and runtime validation.