UNPKG

@loopback/docs

Version:

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

151 lines (71 loc) 1.97 kB
--- lang: en title: 'API docs: rest.routesource' 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.routesource.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RouteSource](./rest.routesource.md) ## RouteSource class **Signature:** ```typescript export declare class RouteSource implements InvocationSource<RouteEntry> ``` **Implements:** [InvocationSource](./context.invocationsource.md)<!-- -->&lt;[RouteEntry](./rest.routeentry.md)<!-- -->&gt; ## Constructors <table><thead><tr><th> Constructor </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [(constructor)(value)](./rest.routesource._constructor_.md) </td><td markdown="1"> </td><td markdown="1"> Constructs a new instance of the `RouteSource` class </td></tr> </tbody></table> ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [type](./rest.routesource.type.md) </td><td markdown="1"> </td><td markdown="1"> string </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [value](./rest.routesource.value.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> [RouteEntry](./rest.routeentry.md) </td><td markdown="1"> </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [toString()](./rest.routesource.tostring.md) </td><td markdown="1"> </td><td markdown="1"> </td></tr> </tbody></table>