UNPKG

redoc

Version:
24 lines (23 loc) 751 B
import type { OpenAPIContact, OpenAPIInfo, OpenAPILicense } from '../../types'; import type { OpenAPIParser } from '../OpenAPIParser'; import { RedocNormalizedOptions } from '../RedocNormalizedOptions'; export declare class ApiInfoModel implements OpenAPIInfo { private parser; private options; title: string; version: string; description: string; summary: string; termsOfService?: string; contact?: OpenAPIContact; license?: OpenAPILicense; downloadUrls: { title?: string; url?: string; }[]; downloadFileName?: string; constructor(parser: OpenAPIParser, options?: RedocNormalizedOptions); private getDownloadUrls; private getDownloadLink; private getDownloadFileName; }