From a2775b5c107f802a040d7ee980268b65419a049a Mon Sep 17 00:00:00 2001 From: Guilhem Niot Date: Wed, 3 Nov 2021 23:55:56 +0100 Subject: [PATCH] Update outdated swagger annotations namespace (#1898) --- Exception/UndocumentedArrayItemsException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Exception/UndocumentedArrayItemsException.php b/Exception/UndocumentedArrayItemsException.php index b44c05f..bedfcc2 100644 --- a/Exception/UndocumentedArrayItemsException.php +++ b/Exception/UndocumentedArrayItemsException.php @@ -27,7 +27,7 @@ class UndocumentedArrayItemsException extends \LogicException } $propertyName .= $path; - parent::__construct(sprintf('Property "%s" is an array, but its items type isn\'t specified. You can specify that by using the type `string[]` for instance or `@SWG\Property(type="array", @SWG\Items(type="string"))`.', $propertyName)); + parent::__construct(sprintf('Property "%s" is an array, but its items type isn\'t specified. You can specify that by using the type `string[]` for instance or `@OA\Property(type="array", @OA\Items(type="string"))`.', $propertyName)); } public function getClass()