Function GET

  • Decorator that can be placed on a method to mark it is an API endpoint that responds to HTTP GET requests.

    Parameters

    • path: string = ""

      The URL path that triggers this endpoint; optional if you set a root path on the class using a apiController decorator. This URL can contain path parameters, prefixed with a colon (':') character.

    Returns ((classDefinition, methodName) => void)

      • (classDefinition, methodName): void
      • Parameters

        • classDefinition: Object
        • methodName: string

        Returns void

Generated using TypeDoc