Function apiController

  • Decorator that can be placed on a class to mark it is an API controller.

    Parameters

    • Optional path: string

      A root URL path that all endpoints in this controller share; optional. This URL can contain path parameters, prefixed with a colon (':') character.

    Returns ((constructor) => void)

      • (constructor): void
      • Parameters

        • constructor: Function

        Returns void

Generated using TypeDoc