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

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [OpenApiSpecForm](./rest.openapispecform.md)

## OpenApiSpecForm interface

The form of OpenAPI specs to be served

**Signature:**

```typescript
export interface OpenApiSpecForm 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[format?](./rest.openapispecform.format.md)


</td><td markdown="1">


</td><td markdown="1">

string


</td><td markdown="1">

_(Optional)_


</td></tr>
<tr><td markdown="1">

[version?](./rest.openapispecform.version.md)


</td><td markdown="1">


</td><td markdown="1">

string


</td><td markdown="1">

_(Optional)_


</td></tr>
</tbody></table>


