Skip to content

tsoa-next / @tsoa-next/runtime / FormField

Function: FormField() ​

ts
function FormField(name?): ParameterDecorator;

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

Binds a regular multipart form field from a multipart/form-data request.

Parameters ​

name? ​

string

The multipart field name. Defaults to the parameter name.

Returns ​

ParameterDecorator

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