OpenApiInfo
data class OpenApiInfo(val title: String, val version: String, val description: String? = null, val termsOfService: String? = null, val contact: OpenApiInfo.Contact? = Contact(), val license: OpenApiInfo.License? = null, val extensions: ExtensionProperties? = null) : Extensible(source)
The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.
Constructors
Link copied to clipboard
constructor(title: String, version: String, description: String? = null, termsOfService: String? = null, contact: OpenApiInfo.Contact? = Contact(), license: OpenApiInfo.License? = null, extensions: ExtensionProperties? = null)
Properties
Link copied to clipboard
The contact information for the exposed API.
Link copied to clipboard
A short description of the API. CommonMark syntax MAY be used for rich text representation.
Link copied to clipboard
Any additional external documentation for this OpenAPI document.
Link copied to clipboard
The license information for the exposed API.
Link copied to clipboard
A URL to the Terms of Service for the API. MUST be in the format of a URL.