UNPKG

@loopback/docs

Version:

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

159 lines (75 loc) 2 kB
--- lang: en title: 'API docs: rest.routeentry' 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.routeentry.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RouteEntry](./rest.routeentry.md) ## RouteEntry interface An entry in the routing table **Signature:** ```typescript export interface RouteEntry ``` ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [path](./rest.routeentry.path.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> string </td><td markdown="1"> http path </td></tr> <tr><td markdown="1"> [spec](./rest.routeentry.spec.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> OperationObject </td><td markdown="1"> OpenAPI operation spec </td></tr> <tr><td markdown="1"> [verb](./rest.routeentry.verb.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> string </td><td markdown="1"> http verb </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [describe()](./rest.routeentry.describe.md) </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [invokeHandler(requestContext, args)](./rest.routeentry.invokehandler.md) </td><td markdown="1"> A handler to invoke the resolved controller method </td></tr> <tr><td markdown="1"> [updateBindings(requestContext)](./rest.routeentry.updatebindings.md) </td><td markdown="1"> Update bindings for the request context </td></tr> </tbody></table>