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(
|
#[ApiResource(
|
||||||
operations: [
|
operations: [
|
||||||
new GetCollection(
|
new GetCollection(
|
||||||
uriTemplate: '/domains',
|
|
||||||
normalizationContext: [
|
normalizationContext: [
|
||||||
'groups' => [
|
'groups' => [
|
||||||
'domain:list'
|
'domain:list'
|
||||||
@@ -29,7 +28,6 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
|||||||
]
|
]
|
||||||
),
|
),
|
||||||
new Get(
|
new Get(
|
||||||
uriTemplate: '/domains/{ldhName}',
|
|
||||||
normalizationContext: [
|
normalizationContext: [
|
||||||
'groups' => [
|
'groups' => [
|
||||||
'domain:item',
|
'domain:item',
|
||||||
@@ -42,7 +40,6 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
|||||||
]
|
]
|
||||||
),
|
),
|
||||||
new Post(
|
new Post(
|
||||||
uriTemplate: '/domains/{ldhName}',
|
|
||||||
status: 204,
|
status: 204,
|
||||||
controller: DomainRefreshController::class,
|
controller: DomainRefreshController::class,
|
||||||
openapiContext: [
|
openapiContext: [
|
||||||
|
|||||||
Reference in New Issue
Block a user