import { MediaTypeObject , OpenAPIObject } from 'openapi3-ts' ; import { Options } from './options' ; import { tsType } from './gen-utils' ; /**
 * Either a request body or response content
 */ export class Content { type : string ; constructor ( public mediaType , public spec , public options , public openApi ) { this . type = tsType ( spec . schema , options , openApi ) ; } }