Skip to content

tsoa-next / tsoa-next / Head

Function: Head() ​

ts
function Head(value?): MethodDecorator;

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

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

Parameters ​

value? ​

string

Returns ​

MethodDecorator

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