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.

Example: A flat dictionary

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

Example: A nested dictionary

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

Generated using TypeDoc