---
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

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[apiExplorer](./rest.restserverresolvedoptions.apiexplorer.md)


</td><td>


</td><td>

[ApiExplorerOptions](./rest.apiexploreroptions.md)


</td><td>


</td></tr>
<tr><td>

[basePath?](./rest.restserverresolvedoptions.basepath.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Base path for API/static routes


</td></tr>
<tr><td>

[cors](./rest.restserverresolvedoptions.cors.md)


</td><td>


</td><td>

cors.CorsOptions


</td><td>


</td></tr>
<tr><td>

[expressSettings](./rest.restserverresolvedoptions.expresssettings.md)


</td><td>


</td><td>

{ \[name: string\]: any; }


</td><td>


</td></tr>
<tr><td>

[listenOnStart?](./rest.restserverresolvedoptions.listenonstart.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_ Set this flag to `false` 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 `true`<!-- -->.


</td></tr>
<tr><td>

[openApiSpec](./rest.restserverresolvedoptions.openapispec.md)


</td><td>


</td><td>

[OpenApiSpecOptions](./rest.openapispecoptions.md)


</td><td>


</td></tr>
<tr><td>

[path?](./rest.restserverresolvedoptions.path.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[port](./rest.restserverresolvedoptions.port.md)


</td><td>


</td><td>

number


</td><td>


</td></tr>
<tr><td>

[requestBodyParser?](./rest.restserverresolvedoptions.requestbodyparser.md)


</td><td>


</td><td>

[RequestBodyParserOptions](./rest.requestbodyparseroptions.md)


</td><td>

_(Optional)_


</td></tr>
<tr><td>

[router](./rest.restserverresolvedoptions.router.md)


</td><td>


</td><td>

[RestRouterOptions](./rest.restrouteroptions.md)


</td><td>


</td></tr>
<tr><td>

[sequence?](./rest.restserverresolvedoptions.sequence.md)


</td><td>


</td><td>

[Constructor](./context.constructor.md)<!-- -->&lt;[SequenceHandler](./rest.sequencehandler.md)<!-- -->&gt;


</td><td>

_(Optional)_


</td></tr>
</tbody></table>


