import { Callback } from './Callback'; import { Example } from './Example'; import { Header } from './Header'; import { Link } from './Link'; import { Parameter } from './Parameter'; import { Reference } from './Reference'; import { RequestBody } from './RequestBody'; import { Response } from './Response'; import { Schema } from './Schema'; import { SecurityScheme } from './SecurityScheme'; export interface Components { schemas?: { [key: string]: Schema | ReferenceType; }; responses?: { [key: string]: Response | ReferenceType; }; parameters?: { [key: string]: Parameter | ReferenceType; }; examples?: { [key: string]: Example | ReferenceType; }; requestBodies?: { [key: string]: RequestBody | ReferenceType; }; headers?: { [key: string]: Header | ReferenceType; }; securitySchemes?: { [key: string]: SecurityScheme | ReferenceType; }; links?: { [key: string]: Link | ReferenceType; }; callbacks?: { [key: string]: Callback | ReferenceType; }; [key: `x-${string}`]: any; }