UNPKG

fluid-oas

Version:

Build declarative OpenApiv3.* specifications.

18 lines (17 loc) 639 B
import { type BaseInterface } from "./base"; import type { OpenApiContact } from "./OpenApiContact"; import type { OpenApiLicense } from "./OpenApiLicense"; export interface OpenApiInfo extends BaseInterface { addDescription(description: string): this; addSummary(summary: string): this; addTitle(title: string): this; addVersion(version: string): this; addTermsOfService(termsOfService: string): this; addContact(contact: OpenApiContact): this; addLicense(license: OpenApiLicense): this; } export declare const Info: { addTitle(title: string): { addVersion(version: string): OpenApiInfo; }; };