export interface Operation { verb: string summary: string slug: string descriptionHTML: string notes: Array requestPath: string responses: Array hasRequiredPreviews: boolean parameters: Array bodyParameters: Array 'x-github': xGitHub 'x-codeSamples': Array } export interface Parameter { in: string name: string descriptionHTML: string required: boolean schema: { type: string default?: string } } export interface xGitHub { category: string enabledForGitHubApps: boolean previews: Array | [] } export interface CodeResponse { description: string httpStatusCode: string httpStatusMessage: string payload: string } export interface xCodeSample { lang: string sourceHTML: string } export interface Preview { html: string required: boolean name: string } export interface BodyParameter { in: string name: string childParamsGroups?: Array default?: string description: string type: string } export interface ChildParamsGroup { id: string params: Array parentName: string parentType: string } export interface ChildParameter { name: string description: string type: string }