Optional
baseOptional
contactContact Information
Optional
email?: stringThe email address of the contact person/organization.
npm package author email
Optional
name?: stringThe identifying name of the contact person/organization.
npm package author
Optional
url?: stringAPI Info url The URL pointing to the contact information.
npm package author url
Optional
descriptionAPI description; defaults to npm package description
Optional
hostAPI host, expressTemplate.g. localhost:3000 or myapi.com
Optional
licenseAPI license; defaults to npm package license
Optional
nameAPI name; defaults to npm package name
Optional
operationTemplate string for generating operation ids. This should be a valid handlebars template and is provided with the following context:
'{{titleCase method.name}}'
Generated SwaggerConfig.json will output here
Optional
rootApplies a default security to the entire API. Can be overridden with
or
decorators on controllers or methods
Optional
schemesOptional
securitySecurity Definitions Object A declaration of the security schemes available to be used in the specification. This does not enforce the security schemes on the operations and only serves to provide the relevant details for each scheme.
Optional
specExtend generated swagger spec with this object Note that generated properties will always take precedence over what get specified here
Optional
specBase-name of swagger.json or swagger.yaml.
@default: "swagger"
Optional
specAlter how the spec is merged to generated swagger spec. Possible values:
ts-deepmerge
to merge, which will concat object branches and concat arrays as well'immediate'
Optional
specMajor OpenAPI version to generate; defaults to version 2 when not specified Possible values:
Optional
tagsSwagger Tags Information for your API
Optional
termsLink to the page that describes the terms of service. Must be in the URL format.
Optional
useSets a title for inline objects for responses and requestBodies This helps to generate more consistent clients
Optional
versionAPI version number; defaults to npm package version
Optional
xEnable x-enum-varnames support
false
Optional
yamlGenerated using TypeDoc
Base API path; e.g. the 'v1' in https://myapi.com/v1