Type Alias GatewayControllerRoute

GatewayControllerRoute: {
    methods: GatewayControllerRouteMethod[];
    path: string;
    route: string;
}

The information for all the HTTP methods that can be handled for an endpoint.

Type declaration

  • methods: GatewayControllerRouteMethod[]

    A list with all the methods the controller uses on the route.

  • path: string

    The path to the endpoint, relative to the entry point.

  • route: string

    The path for the route in the controller. This is different from path as it's possible for the gateway to be implemented using the root option.