ControllerRouteConfiguration: {
    controllerMethod: string;
    httpMethod: HttpMethod;
    route: Route;
}

The configuration for a controller route.

Type declaration

  • controllerMethod: string

    The name of the method on the controller that is responsible for handling requests to the endpoint.

  • httpMethod: HttpMethod

    The http method used by the route.

  • route: Route

    The actual route under which the endpoint should be reached.