From e61cfa2a4f8d7cc4356ba7450647844463ee7407 Mon Sep 17 00:00:00 2001 From: Bob Fanger Date: Wed, 6 May 2020 22:45:40 +0200 Subject: [PATCH] fix: Added ref support for @OA\PathItem Closes #770 --- src/Annotations/PathItem.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Annotations/PathItem.php b/src/Annotations/PathItem.php index 482309319..73134eceb 100644 --- a/src/Annotations/PathItem.php +++ b/src/Annotations/PathItem.php @@ -15,6 +15,13 @@ */ class PathItem extends AbstractAnnotation { + /** + * $ref See https://swagger.io/docs/specification/using-ref/ + * + * @var string + */ + public $ref = UNDEFINED; + /** * key for the Path Object (OpenApi->paths array). *