Skip to content

Commit

Permalink
fix: Added ref support for @OA\PathItem
Browse files Browse the repository at this point in the history
Closes #770
  • Loading branch information
bfanger committed May 6, 2020
1 parent 3f256b1 commit e61cfa2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Annotations/PathItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*
Expand Down

0 comments on commit e61cfa2

Please sign in to comment.