@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
49 lines (34 loc) • 1.48 kB
Markdown
lang: en
title: 'API docs: rest.baseroute'
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.baseroute.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [BaseRoute](./rest.baseroute.md)
## BaseRoute class
Base implementation of RouteEntry
<b>Signature:</b>
```typescript
export declare abstract class BaseRoute implements RouteEntry
```
<b>Implements:</b> [RouteEntry](./rest.routeentry.md)
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [(constructor)(verb, path, spec)](./rest.baseroute._constructor_.md) | | Construct a new route |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [path](./rest.baseroute.path.md) | | string | |
| [spec](./rest.baseroute.spec.md) | | OperationObject | |
| [verb](./rest.baseroute.verb.md) | | string | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [describe()](./rest.baseroute.describe.md) | | |
| [invokeHandler(requestContext, args)](./rest.baseroute.invokehandler.md) | | |
| [toString()](./rest.baseroute.tostring.md) | | |
| [updateBindings(requestContext)](./rest.baseroute.updatebindings.md) | | |