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\ExampleMap;
use Apie\OpenapiSchema\ValueObjects\ParameterIn;
use Apie\ValueObjects\ValueObjectInterface;
class Header implements ValueObjectInterface
{
use CompositeValueObjectWithExtension;
/**
* @var string|null
*/
private $description;
$description
* @var bool|null
private $required;
$required
private $deprecated;
$deprecated
private $allowEmptyValue;
$allowEmptyValue
private $style;
$style
private $explode;
$explode
private $allowReserved;
$allowReserved
* @var Schema|null
private $schema;
$schema
* @var mixed|null
private $example;
$example
* @var ExampleMap|null
private $examples;
$examples
* @var string|MediaType|null
private $content;
$content
public function __construct(string $name, ParameterIn $in)
$this->name = $name;
name
$this->in = $in;
in
}