mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
chore: disable API GET on entity
This commit is contained in:
@@ -22,7 +22,7 @@ use Symfony\Component\Serializer\Attribute\SerializedName;
|
|||||||
uriTemplate: '/entities',
|
uriTemplate: '/entities',
|
||||||
normalizationContext: ['groups' => ['entity:list', 'event:list']]
|
normalizationContext: ['groups' => ['entity:list', 'event:list']]
|
||||||
),
|
),
|
||||||
*/
|
|
||||||
new Get(
|
new Get(
|
||||||
uriTemplate: '/entities/{id}',
|
uriTemplate: '/entities/{id}',
|
||||||
normalizationContext: [
|
normalizationContext: [
|
||||||
@@ -36,6 +36,7 @@ use Symfony\Component\Serializer\Attribute\SerializedName;
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
*/
|
||||||
]
|
]
|
||||||
)]
|
)]
|
||||||
class Entity
|
class Entity
|
||||||
|
|||||||
Reference in New Issue
Block a user