Skip to content

tsoa-next / tsoa-next / Patch

Function: Patch()

ts
function Patch(value?): MethodDecorator;

Defined in: packages/runtime/src/decorators/methods.ts:24

Marks a controller method as handling HTTP PATCH requests for the given relative path.

Parameters

value?

string

Returns

MethodDecorator

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