Type Alias GatewayConfigEndpoints

GatewayConfigEndpoints: {
    [key: string]: GatewayConfigEndpointDefinition | GatewayConfigEndpoints;
}

The dictionary of endpoints the controller uses. The reason for this type is that this could be a flat dictionary, or a nested one.

{
random: '/random',
users: '/users',
userById: {
path: '/users/:id',
method: 'get',
},
}
{
random: '/random',
users: {
list: '/users',
byId: {
path: '/users/:id',
method: 'get',
},
},
}