---
lang: en
title: 'API docs: openapi-v3-types.createemptyapispec'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.openapi-v3-types.createemptyapispec.html
---

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

[Home](./index.md) &gt; [@loopback/openapi-v3-types](./openapi-v3-types.md) &gt; [createEmptyApiSpec](./openapi-v3-types.createemptyapispec.md)

## createEmptyApiSpec() function

Create an empty OpenApiSpec object that's still a valid openapi document.

<b>Signature:</b>

```typescript
export declare function createEmptyApiSpec(): OpenApiSpec;
```
<b>Returns:</b>

`OpenApiSpec`


