Page Contents
Home > @loopback/rest > OpenApiSpecOptions
OpenApiSpecOptions interface
Options to customize how OpenAPI specs are served
Signature:
export interface OpenApiSpecOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
boolean |
(Optional) Set this flag to | ||
|
true |
(Optional) Set this flag to disable the endpoint for OpenAPI spec | ||
|
{ [key: string]: OpenApiSpecForm; } |
(Optional) Mapping of urls to spec forms, by default: | ||
|
ServerObject[] |
(Optional) Configure servers for OpenAPI spec | ||
|
boolean |
(Optional) A flag to force |