Skip to content

tsoa-next / @tsoa-next/runtime / fetchSpecPaths

Function: fetchSpecPaths()

ts
function fetchSpecPaths(target): readonly SpecPathDefinition[];

Defined in: packages/runtime/src/decorators/specPath.ts:187

Returns the spec-path definitions declared on a controller.

Parameters

target

object

Returns

readonly SpecPathDefinition[]

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