MCPcopy Create free account
hub / github.com/loopbackio/loopback-next / getRestMiddlewareBindings

Function getRestMiddlewareBindings

packages/rest/src/rest.component.ts:126–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126function getRestMiddlewareBindings() {
127 return [
128 SendResponseMiddlewareProvider,
129 FindRouteMiddlewareProvider,
130 ParseParamsMiddlewareProvider,
131 InvokeMethodMiddlewareProvider,
132 ].map(cls => createBindingFromClass(cls));
133}
134
135function createActionBindings() {
136 const bindings: Binding[] = [];

Callers 1

RestComponentClass · 0.85

Calls 1

createBindingFromClassFunction · 0.85

Tested by

no test coverage detected