Skip to content

tsoa-next / @tsoa-next/runtime / describeSpecPath

Function: describeSpecPath() ​

ts
function describeSpecPath(specPath): object;

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

Produces a human-readable summary of a spec-path definition for logging and diagnostics.

Parameters ​

specPath ​

SpecPathDefinition

Returns ​

object

cache ​

ts
cache: string;

path ​

ts
path: string = specPath.path;

target ​

ts
target: string;

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