diff --git a/src/Attributes/Response.php b/src/Attributes/Response.php index 1d5135333..719aacc4b 100644 --- a/src/Attributes/Response.php +++ b/src/Attributes/Response.php @@ -23,6 +23,7 @@ public function __construct( ?array $attachables = null ) { parent::__construct([ + 'ref' => $ref ?? Generator::UNDEFINED, 'response' => $response ?? Generator::UNDEFINED, 'description' => $description ?? Generator::UNDEFINED, 'x' => $x ?? Generator::UNDEFINED,