Skip to content

Commit 8751727

Browse files
committed
add in development flags
1 parent 6e5b95c commit 8751727

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Subscription/Controller/BlacklistController.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function __construct(
4141
#[Route('/check/{email}', name: 'check', methods: ['GET'])]
4242
#[OA\Get(
4343
path: '/api/v2/blacklist/check/{email}',
44-
description: 'Checks if an email address is blacklisted.',
44+
description: '🚧 **Status: Beta** – This method is under development. Avoid using in production.',
4545
summary: 'Check if email is blacklisted',
4646
tags: ['blacklist'],
4747
parameters: [
@@ -97,8 +97,8 @@ public function checkEmailBlacklisted(Request $request, string $email): JsonResp
9797
#[Route('/add', name: 'add', methods: ['POST'])]
9898
#[OA\Post(
9999
path: '/api/v2/blacklist/add',
100-
description: 'Adds an email address to the blacklist.',
101-
summary: 'Add email to blacklist',
100+
description: '🚧 **Status: Beta** – This method is under development. Avoid using in production.',
101+
summary: 'Adds an email address to the blacklist.',
102102
requestBody: new OA\RequestBody(
103103
description: 'Email to blacklist',
104104
required: true,
@@ -161,8 +161,8 @@ public function addEmailToBlacklist(Request $request): JsonResponse
161161
#[Route('/remove/{email}', name: 'remove', methods: ['DELETE'])]
162162
#[OA\Delete(
163163
path: '/api/v2/blacklist/remove/{email}',
164-
description: 'Removes an email address from the blacklist.',
165-
summary: 'Remove email from blacklist',
164+
description: '🚧 **Status: Beta** – This method is under development. Avoid using in production.',
165+
summary: 'Removes an email address from the blacklist.',
166166
tags: ['blacklist'],
167167
parameters: [
168168
new OA\Parameter(
@@ -213,8 +213,8 @@ public function removeEmailFromBlacklist(Request $request, string $email): JsonR
213213
#[Route('/info/{email}', name: 'info', methods: ['GET'])]
214214
#[OA\Get(
215215
path: '/api/v2/blacklist/info/{email}',
216-
description: 'Gets detailed information about a blacklisted email.',
217-
summary: 'Get blacklist information',
216+
description: '🚧 **Status: Beta** – This method is under development. Avoid using in production.',
217+
summary: 'Gets detailed information about a blacklisted email.',
218218
tags: ['blacklist'],
219219
parameters: [
220220
new OA\Parameter(

0 commit comments

Comments
 (0)