Skip to content

tsoa-next / tsoa-next / Get

Function: Get() ​

ts
function Get(value?): MethodDecorator;

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

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

Parameters ​

value? ​

string

Returns ​

MethodDecorator

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