From 53a61a8820a251c51fcfcf29744a7d0aac741c54 Mon Sep 17 00:00:00 2001 From: "v.noskov" Date: Sat, 20 Apr 2024 19:27:23 +0300 Subject: [PATCH] OA\Property attribute excludes property from model's required array --- tests/Functional/Entity/User.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Functional/Entity/User.php b/tests/Functional/Entity/User.php index 60ae079d2..0bf9eeba5 100644 --- a/tests/Functional/Entity/User.php +++ b/tests/Functional/Entity/User.php @@ -196,8 +196,7 @@ class User /** * User Location. */ - #[\OpenApi\Attributes\Property(type: 'string')] - private $location; + private string $location; /** * @var int