From bd16421aadd0b29664c5fbb80267adff568cd8ed Mon Sep 17 00:00:00 2001 From: Christian Stoller Date: Wed, 10 Jan 2024 11:09:12 +0100 Subject: [PATCH] Removed pattern of UUID properties, because serialization format can be different --- src/PropertyDescriber/UuidPropertyDescriber.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PropertyDescriber/UuidPropertyDescriber.php b/src/PropertyDescriber/UuidPropertyDescriber.php index 4e69596cb..b1e3b1fee 100644 --- a/src/PropertyDescriber/UuidPropertyDescriber.php +++ b/src/PropertyDescriber/UuidPropertyDescriber.php @@ -23,7 +23,6 @@ public function describe(array $types, OA\Schema $property, array $groups = null { $property->type = 'string'; $property->format = 'uuid'; - $property->pattern = '^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$'; $this->setNullableProperty($types[0], $property, $schema); }