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.

interface InfoObject {
    contact?: ContactObject;
    description?: string;
    license?: LicenseObject;
    summary?: string;
    termsOfService?: string;
    title: string;
    version: string;
}

Hierarchy (view full)

Properties

contact?: ContactObject

The contact information for the exposed API.

description?: string

A description of the API. CommonMark syntax MAY be used for rich text representation.

license?: LicenseObject

The license information for the exposed API.

summary?: string

A short summary of the API.

termsOfService?: string

A URL to the Terms of Service for the API. This MUST be in the form of a URL.

title: string

The title of the API.

version: string

The version of the OpenAPI document (which is distinct from the OpenAPI Specification version or the API implementation version).