Type alias GatewayConfigEndpointProps

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

The extended definition for endpoints.

Type declaration

  • Optional method?: RouterMethod

    The router (HTTP) method for the endpoint.

    Default

    'all'
    
  • path: string

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

Generated using TypeDoc