@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
24 lines (16 loc) • 736 B
Markdown
lang: en
title: 'API docs: rest.restserverresolvedoptions.basepath'
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.restserverresolvedoptions.basepath.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestServerResolvedOptions](./rest.restserverresolvedoptions.md) > [basePath](./rest.restserverresolvedoptions.basepath.md)
## RestServerResolvedOptions.basePath property
Base path for API/static routes
<b>Signature:</b>
```typescript
basePath?: string;
```