---
lang: en
title: 'API docs: rest.baseroute.tostring'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.baseroute.tostring.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [BaseRoute](./rest.baseroute.md) &gt; [toString](./rest.baseroute.tostring.md)

## BaseRoute.toString() method

<b>Signature:</b>

```typescript
toString(): string;
```
<b>Returns:</b>

string


