chore: remove uriTemplate on Domain

This commit is contained in:
Maël Gangloff
2024-07-18 14:13:01 +02:00
parent 765c7686ac
commit a95c577bf8

View File

@@ -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: [