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', },} Copy
{ random: '/random', users: '/users', userById: { path: '/users/:id', method: 'get', },}
{ random: '/random', users: { list: '/users', byId: { path: '/users/:id', method: 'get', }, },} Copy
{ random: '/random', users: { list: '/users', byId: { path: '/users/:id', method: 'get', }, },}
The dictionary of endpoints the controller uses. The reason for this type is that this could be a flat dictionary, or a nested one.