---
lang: en
title: 'API docs: rest.openapispecoptions.disabled'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.openapispecoptions.disabled.html
---

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

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [OpenApiSpecOptions](./rest.openapispecoptions.md) &gt; [disabled](./rest.openapispecoptions.disabled.md)

## OpenApiSpecOptions.disabled property

Set this flag to disable the endpoint for OpenAPI spec

<b>Signature:</b>

```typescript
disabled?: true;
```

