OptionalbaseBase path for all routes, e.g. base: 'v1' would prefix all routes with /v1.
OptionalcallbackOverride the default callback query parameter name for JSONP calls.
Optionalloggerlambda-api logging configuration. Enables/disables default logging by setting to a boolean value or allows for configuration through a Logging Configuration object.
Defaults to info level logging.
OptionalmimeName/value pairs of additional MIME types to be supported
by the type(). The key should be the file extension
(without the .) and the value should be the expected MIME type,
e.g. application/json.
OptionalnameAPI human readable name.
OptionalopenOpenAPI configuration.
OptionalserializerOptional object serializer function. This function receives the body of a response and must return a string. Defaults to JSON.stringify
OptionalserverLogging configuration for ts-lambda-api. See [[ServerLoggerConfig]] for more information.
Defaults to info level plain string logging.
OptionalversionVersion number accessible via Request context instances.
Base class for app configuration. Extend this to supply your own configuration properties.
It is recommended to create your own sub-class and register it with the application IOC container.
This class supports all the
lambda-apiconfig options by implementing theOptionsinterface.