UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

137 lines (67 loc) 2.32 kB
--- lang: en title: 'API docs: rest.restmiddlewaregroups' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest permalink: /doc/en/lb4/apidocs.rest.restmiddlewaregroups.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestMiddlewareGroups](./rest.restmiddlewaregroups.md) ## RestMiddlewareGroups namespace Built-in middleware groups for the REST sequence **Signature:** ```typescript export declare namespace RestMiddlewareGroups ``` ## Variables <table><thead><tr><th> Variable </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [API\_SPEC](./rest.restmiddlewaregroups.api_spec.md) </td><td markdown="1"> Server OpenAPI specs </td></tr> <tr><td markdown="1"> [AUTHENTICATION](./rest.restmiddlewaregroups.authentication.md) </td><td markdown="1"> Perform authentication </td></tr> <tr><td markdown="1"> [CORS](./rest.restmiddlewaregroups.cors.md) </td><td markdown="1"> Enforce CORS </td></tr> <tr><td markdown="1"> [DEFAULT](./rest.restmiddlewaregroups.default.md) </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [FIND\_ROUTE](./rest.restmiddlewaregroups.find_route.md) </td><td markdown="1"> Find the route that can serve the request </td></tr> <tr><td markdown="1"> [INVOKE\_METHOD](./rest.restmiddlewaregroups.invoke_method.md) </td><td markdown="1"> Invoke the target controller method or handler function </td></tr> <tr><td markdown="1"> [MIDDLEWARE](./rest.restmiddlewaregroups.middleware.md) </td><td markdown="1"> Default middleware group </td></tr> <tr><td markdown="1"> [PARSE\_PARAMS](./rest.restmiddlewaregroups.parse_params.md) </td><td markdown="1"> Parse the http request to extract parameter values for the operation </td></tr> <tr><td markdown="1"> [SEND\_RESPONSE](./rest.restmiddlewaregroups.send_response.md) </td><td markdown="1"> Invoke downstream middleware to get the result or catch errors so that it can produce the http response </td></tr> </tbody></table>