import { RequestBodyObject } from 'openapi3-ts' ; import { Content } from './content' ; import { tsComments } from './gen-utils' ; import { Options } from './options' ; /**
 * Describes a request body
 */ export class RequestBody { tsComments : string ; required : boolean ; constructor ( public spec , public content , public options ) { this . tsComments = tsComments ( spec . description , 2 ) ; this . required = spec . required === true ; } }