/** * {@inheritdoc} */ public function getResponsePayloadBodySchema($statusCode, $contentType) { $response = $this->method->getResponse($statusCode); if (empty($response) === false) { try { $body = $response->getBodyByType($contentType); return (string) $body->getSchema(); } catch (\Exception $e) { } } return; }