Page Contents

Home > @loopback/rest > RouteEntry

RouteEntry interface

An entry in the routing table

Signature:

export interface RouteEntry 

Properties

Property Modifiers Type Description
[path](/doc/en/lb4/apidocs.rest.routeentry.path.html) `readonly` string http path
[spec](/doc/en/lb4/apidocs.rest.routeentry.spec.html) `readonly` OperationObject OpenAPI operation spec
[verb](/doc/en/lb4/apidocs.rest.routeentry.verb.html) `readonly` string http verb

Methods

Method Description
[describe()](/doc/en/lb4/apidocs.rest.routeentry.describe.html)
[invokeHandler(requestContext, args)](/doc/en/lb4/apidocs.rest.routeentry.invokehandler.html) A handler to invoke the resolved controller method
[updateBindings(requestContext)](/doc/en/lb4/apidocs.rest.routeentry.updatebindings.html) Update bindings for the request context