/** * @param SchemaManager $schemaManager * @param string $path Swagger path template. * @param string $httpMethod */ public function __construct(SchemaManager $schemaManager, $path, $httpMethod) { parent::__construct(); $this->mediaTypes = $schemaManager->getResponseMediaTypes($path, $httpMethod); }