From a95c577bf860266bc8123f9363681842fe9f06c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gangloff?= Date: Thu, 18 Jul 2024 14:13:01 +0200 Subject: [PATCH] chore: remove uriTemplate on Domain --- src/Entity/Domain.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Entity/Domain.php b/src/Entity/Domain.php index 5368dc6..90b44bc 100644 --- a/src/Entity/Domain.php +++ b/src/Entity/Domain.php @@ -21,7 +21,6 @@ use Symfony\Component\Serializer\Attribute\Groups; #[ApiResource( operations: [ new GetCollection( - uriTemplate: '/domains', normalizationContext: [ 'groups' => [ 'domain:list' @@ -29,7 +28,6 @@ use Symfony\Component\Serializer\Attribute\Groups; ] ), new Get( - uriTemplate: '/domains/{ldhName}', normalizationContext: [ 'groups' => [ 'domain:item', @@ -42,7 +40,6 @@ use Symfony\Component\Serializer\Attribute\Groups; ] ), new Post( - uriTemplate: '/domains/{ldhName}', status: 204, controller: DomainRefreshController::class, openapiContext: [