Interface: ITsToOpenApiConfig
Configuration for the API.
Properties
title
title:
string
Title of the API.
version
version:
string
The version.
description
description:
string
Description of the API.
licenseName
licenseName:
string
The license to use.
licenseUrl
licenseUrl:
string
The license URL.
servers
servers:
string[]
The servers for the endpoints.
authMethods?
optionalauthMethods:string[]
The authentication methods.
restRoutes
restRoutes:
object[]
The packages containing routes.
package?
optionalpackage:string
The package containing the routes.
version?
optionalversion:string
The version of the package to use, defaults to latest.
packageRoot?
optionalpackageRoot:string
To point to a local instance of a package use this property instead of package/version.
entryPoints?
optionalentryPoints:ITsToOpenApiConfigEntryPoint[]
The rest entry points to include, defaults to all exported entry points.
externalReferences?
optionalexternalReferences:object
External type references
Index Signature
[id: string]: string
overrides?
optionaloverrides:object
Override for specific types, to be used when the type cannot be generated automatically, or is generated incorrectly.
Index Signature
[id: string]: AnySchemaObject
autoExpandTypes?
optionalautoExpandTypes:string[]
The types to automatically expand inline in type definitions, reg ex string matches.