Interface: OpenApiPluginOptions
Interface representing the options for configuring the OpenAPI plugin.
Extends
Properties
docsUrl?
optionaldocsUrl?:string
Url path for the OpenAPI documentation.
exposeJson?
optionalexposeJson?:boolean
If true, the OpenAPI plugin will expose the JSON document as a REST endpoint.
exposeYaml?
optionalexposeYaml?:boolean
If true, the OpenAPI plugin will expose the YAML document as a REST endpoint.
globalPrefix?
optionalglobalPrefix?:boolean
If true, the OpenAPI plugin will use the global prefix for the documentation routes. If false, it will not use the global prefix.
info
info:
object
Information about the API.
contact?
optionalcontact?:object
contact.email?
optionalemail?:string
contact.name?
optionalname?:string
contact.url?
optionalurl?:string
description?
optionaldescription?:string
externalDocs?
optionalexternalDocs?:object
externalDocs.description?
optionaldescription?:string
externalDocs.url
url:
string
license?
optionallicense?:object
license.identifier?
optionalidentifier?:string
license.name
name:
string
license.url?
optionalurl?:string
servers?
optionalservers?:object[]
summary?
optionalsummary?:string
tags?
optionaltags?:object[]
termsOfService?
optionaltermsOfService?:string
title
title:
string
version
version:
string
jsonDocumentUrl?
optionaljsonDocumentUrl?:string
Url path for the OpenAPI JSON document.
plugin
plugin:
PluginType
Inherited from
yamlDocumentUrl?
optionalyamlDocumentUrl?:string
Url path for the OpenAPI YAML document.