Page Contents

Home > @loopback/rest > Route > (constructor)

Route.constructor

Constructs a new instance of the Route class

Signature:

constructor(verb: string, path: string, spec: OperationObject, _handler: Function);

Parameters

Parameter Type Description
verb string  
path string  
spec OperationObject  
_handler Function