*/ public $headers = Generator::UNDEFINED; /** * @var string */ public $style = Generator::UNDEFINED; /** * @var bool */ public $explode = Generator::UNDEFINED; /** * @var bool */ public $allowReserved = Generator::UNDEFINED; /** * @inheritdoc */ public static $_parents = [ JsonContent::class, XmlContent::class, MediaType::class, Property::class, ]; /** * @inheritdoc */ public static $_nested = [ Header::class => ['headers', 'header'], Attachable::class => ['attachables'], ]; /** * @inheritdoc */ public static $_types = [ 'contentType' => 'string', ]; public function jsonSerialize(): \stdClass { $data = parent::jsonSerialize(); unset($data->property); return $data; } }