mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: remove uriTemplate on Domain
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user