Skip to content

tsoa-next / @tsoa-next/runtime / Path

Function: Path() ​

ts
function Path(name?): ParameterDecorator;

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

Binds a path parameter from the request URL.

Parameters ​

name? ​

string

The path parameter name. Defaults to the parameter name.

Returns ​

ParameterDecorator

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