Skip to content

Commit 3138c73

Browse files
committed
chore: Fix issues from the checklist
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent d26e2b5 commit 3138c73

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

app/Http/Controllers/Apis/Protected/Summit/OAuth2SummitApiController.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,8 +1326,8 @@ public function addSummit()
13261326
),
13271327
responses: [
13281328
new OA\Response(
1329-
response: Response::HTTP_OK,
1330-
description: "Success",
1329+
response: Response::HTTP_CREATED,
1330+
description: "Summit updated",
13311331
content: new OA\JsonContent(ref: "#/components/schemas/Summit")
13321332
),
13331333
new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Not Found"),
@@ -1855,7 +1855,7 @@ public function deleteSummitSecondaryLogo($summit_id)
18551855
),
18561856
],
18571857
responses: [
1858-
new OA\Response(response: Response::HTTP_OK, description: "Speaker added as featured"),
1858+
new OA\Response(response: Response::HTTP_CREATED, description: "Speaker added as featured"),
18591859
new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Not Found"),
18601860
new OA\Response(response: Response::HTTP_UNAUTHORIZED, description: "Unauthorized"),
18611861
],
@@ -1922,7 +1922,7 @@ public function addFeatureSpeaker($summit_id, $speaker_id)
19221922
)
19231923
),
19241924
responses: [
1925-
new OA\Response(response: Response::HTTP_OK, description: "Featured speaker updated"),
1925+
new OA\Response(response: Response::HTTP_CREATED, description: "Featured speaker updated"),
19261926
new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Not Found"),
19271927
new OA\Response(response: Response::HTTP_UNAUTHORIZED, description: "Unauthorized"),
19281928
new OA\Response(response: Response::HTTP_PRECONDITION_FAILED, description: "Validation Error"),
@@ -2418,8 +2418,8 @@ public function addLeadReportSettings($summit_id)
24182418
),
24192419
responses: [
24202420
new OA\Response(
2421-
response: Response::HTTP_OK,
2422-
description: "Success",
2421+
response: Response::HTTP_CREATED,
2422+
description: "Lead report settings updated",
24232423
content: new OA\JsonContent(type: "object")
24242424
),
24252425
new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Not Found"),
@@ -2492,7 +2492,7 @@ public function updateLeadReportSettings($summit_id)
24922492
],
24932493
responses: [
24942494
new OA\Response(
2495-
response: 200,
2495+
response: Response::HTTP_OK,
24962496
description: 'Badge validation success',
24972497
content: new OA\JsonContent(ref: '#/components/schemas/ValidateBadgeResponse')
24982498
),

0 commit comments

Comments
 (0)