MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / findRoute

Method findRoute

packages/rest/src/http-handler.ts:95–99  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

93 }
94
95 findRoute(request: Request): ResolvedRoute {
96 const route = this._routes.find(request);
97 Object.assign(route.schemas, this.getApiDefinitions());
98 return route;
99 }
100
101 protected async _handleRequest(
102 request: Request,

Callers 7

handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45
handleMethod · 0.45

Calls 2

getApiDefinitionsMethod · 0.95
findMethod · 0.65

Tested by 5

handleMethod · 0.36
handleMethod · 0.36
handleMethod · 0.36
handleMethod · 0.36
handleMethod · 0.36