Skip to content

Commit

Permalink
Removed pattern of UUID properties, because serialization format can …
Browse files Browse the repository at this point in the history
…be different
  • Loading branch information
stollr committed Apr 2, 2024
1 parent 1150db6 commit bd16421
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PropertyDescriber/UuidPropertyDescriber.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit bd16421

Please sign in to comment.