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 Server OpenAPI specs
AUTHENTICATION Perform authentication
CORS Enforce CORS
DEFAULT  
FIND_ROUTE Find the route that can serve the request
INVOKE_METHOD Invoke the target controller method or handler function
MIDDLEWARE Default middleware group
PARSE_PARAMS Parse the http request to extract parameter values for the operation
SEND_RESPONSE Invoke downstream middleware to get the result or catch errors so that it can produce the http response