Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ControllerOptions

Additional options that can be provided to a @Controller() decorator.

Hierarchy

  • ControllerOptions

Index

Properties

basePath?: string

A controller base path will be prepended to any API Gateway event handler resource paths.

middleware?: (Middleware<any, any> | MiddlewareFunction<any, any>)[]

A list of middleware that will run before any event handler in the controller.

Generated using TypeDoc