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

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/graphql](./graphql.md) &gt; [GraphQLServerOptions](./graphql.graphqlserveroptions.md)

## GraphQLServerOptions interface

Options for GraphQL server

<b>Signature:</b>

```typescript
export interface GraphQLServerOptions extends HttpOptions 
```
<b>Extends:</b> [HttpOptions](./http-server.httpoptions.md)

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [apollo](./graphql.graphqlserveroptions.apollo.md) | ApolloServerExpressConfig | ApolloServerExpress related configuration |
|  [asMiddlewareOnly](./graphql.graphqlserveroptions.asmiddlewareonly.md) | boolean | Use as a middleware for RestServer instead of a standalone server |
|  [expressSettings](./graphql.graphqlserveroptions.expresssettings.md) | Record&lt;string, unknown&gt; | Express settings |


