for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Apie\OpenapiSchema\Spec;
use Apie\OpenapiSchema\Concerns\CompositeValueObjectWithExtension;
use Apie\OpenapiSchema\Map\HeaderMap;
use Apie\OpenapiSchema\Map\LinkObjectMap;
use Apie\OpenapiSchema\Map\MediaTypeMap;
use Apie\ValueObjects\ValueObjectInterface;
/**
* @see https://swagger.io/specification/#response-object
*/
class Response implements ValueObjectInterface
{
use CompositeValueObjectWithExtension;
Apie\OpenapiSchema\Conce...alueObjectWithExtension
$name
Apie\OpenapiSchema\Spec\Response
* @var string
private $description;
* @var HeaderMap|null
private $headers;
$headers
* @var MediaTypeMap|null
private $content;
$content
* @var LinkObjectMap|null
private $links;
$links
public function __construct(string $description)
$this->description = $description;
}