Page Contents

Home > @loopback/rest > RestMiddlewareGroups

RestMiddlewareGroups namespace

Built-in middleware groups for the REST sequence

Signature:

export declare namespace RestMiddlewareGroups 

Variables

Variable Description
[API\_SPEC](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.api_spec.html) Server OpenAPI specs
[AUTHENTICATION](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.authentication.html) Perform authentication
[CORS](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.cors.html) Enforce CORS
[DEFAULT](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.default.html)
[FIND\_ROUTE](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.find_route.html) Find the route that can serve the request
[INVOKE\_METHOD](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.invoke_method.html) Invoke the target controller method or handler function
[MIDDLEWARE](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.middleware.html) Default middleware group
[PARSE\_PARAMS](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.parse_params.html) Parse the http request to extract parameter values for the operation
[SEND\_RESPONSE](/doc/en/lb4/apidocs.rest.restmiddlewaregroups.send_response.html) Invoke downstream middleware to get the result or catch errors so that it can produce the http response