Type Alias GatewayConfigEndpointProps

GatewayConfigEndpointProps: {
    method?: RouterMethod;
    path: string;
}

The extended definition for endpoints.

Type declaration

  • Optionalmethod?: RouterMethod

    The router (HTTP) method for the endpoint.

    'all'
    
  • path: string

    The path to the endpoint relative to the entry point. It can include placeholders for parameters like /:parameter/.