Skip to content

tsoa-next / tsoa-next / Post

Function: Post()

ts
function Post(value?): MethodDecorator;

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

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

Parameters

value?

string

Returns

MethodDecorator

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