---
lang: en
title: 'API docs: rest.restserverresolvedoptions'
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.html
---

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

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RestServerResolvedOptions](./rest.restserverresolvedoptions.md)

## RestServerResolvedOptions interface

**Signature:**

```typescript
export interface RestServerResolvedOptions 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [apiExplorer](./rest.restserverresolvedoptions.apiexplorer.md) |  | [ApiExplorerOptions](./rest.apiexploreroptions.md) |  |
|  [basePath?](./rest.restserverresolvedoptions.basepath.md) |  | string | _(Optional)_ Base path for API/static routes |
|  [cors](./rest.restserverresolvedoptions.cors.md) |  | cors.CorsOptions |  |
|  [expressSettings](./rest.restserverresolvedoptions.expresssettings.md) |  | { \[name: string\]: any; } |  |
|  [listenOnStart?](./rest.restserverresolvedoptions.listenonstart.md) |  | boolean | _(Optional)_ Set this flag to <code>false</code> to not listen on connections when the REST server is started. It's useful to mount a LoopBack REST server as a route to the facade Express application. If not set, the value is default to <code>true</code>. |
|  [openApiSpec](./rest.restserverresolvedoptions.openapispec.md) |  | [OpenApiSpecOptions](./rest.openapispecoptions.md) |  |
|  [path?](./rest.restserverresolvedoptions.path.md) |  | string | _(Optional)_ |
|  [port](./rest.restserverresolvedoptions.port.md) |  | number |  |
|  [requestBodyParser?](./rest.restserverresolvedoptions.requestbodyparser.md) |  | [RequestBodyParserOptions](./rest.requestbodyparseroptions.md) | _(Optional)_ |
|  [router](./rest.restserverresolvedoptions.router.md) |  | [RestRouterOptions](./rest.restrouteroptions.md) |  |
|  [sequence?](./rest.restserverresolvedoptions.sequence.md) |  | [Constructor](./context.constructor.md)<!-- -->&lt;[SequenceHandler](./rest.sequencehandler.md)<!-- -->&gt; | _(Optional)_ |


