Skip to content

tsoa-next / @tsoa-next/cli / validateSpecConfig

Function: validateSpecConfig()

ts
function validateSpecConfig(config): Promise<ExtendedSpecConfig>;

Defined in: cli/src/api.ts:394

Validates and enriches the spec section of a tsoa config object.

Parameters

config

Config

Returns

Promise<ExtendedSpecConfig>

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