Function: tsToOpenApi()
tsToOpenApi(
config,outputFile,workingDirectory):Promise<void>
Convert the TypeScript definitions to OpenAPI spec.
Parameters
config
The configuration for the app.
outputFile
string
The location of the file to output the OpenAPI spec.
workingDirectory
string
The folder the app was run from.
Returns
Promise<void>