Update outdated swagger annotations namespace (#1898)

This commit is contained in:
Guilhem Niot 2021-11-03 23:55:56 +01:00 committed by GitHub
parent efa83ca54e
commit a2775b5c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ class UndocumentedArrayItemsException extends \LogicException
} }
$propertyName .= $path; $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() public function getClass()