From fa0d937160f959bc474c343ed14c8ab647ff560f Mon Sep 17 00:00:00 2001 From: Guilhem N Date: Thu, 2 Feb 2017 17:17:42 +0100 Subject: [PATCH] Do not allow using @Model in @Swagger annotation --- Annotation/Model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Annotation/Model.php b/Annotation/Model.php index 799914a..06d3b63 100644 --- a/Annotation/Model.php +++ b/Annotation/Model.php @@ -22,7 +22,6 @@ final class Model extends AbstractAnnotation public static $_parents = [ 'Swagger\Annotations\Parameter', 'Swagger\Annotations\Response', - 'Swagger\Annotations\Swagger', ]; public $type;