Skip to content

Commit 5d507cf

Browse files
committed
chore: revert unexpected changes
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent fd19464 commit 5d507cf

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function getChildSerializer():string{
267267
],
268268
responses: [
269269
new OA\Response(
270-
response: Response::HTTP_OK,
270+
response: 200,
271271
description: 'Success',
272272
content: new OA\JsonContent(ref: '#/components/schemas/PaginatedSummitScheduleConfigsResponse')
273273
),
@@ -332,7 +332,7 @@ public function getAllBySummit($summit_id)
332332
],
333333
responses: [
334334
new OA\Response(
335-
response: Response::HTTP_OK,
335+
response: 200,
336336
description: 'Success',
337337
content: new OA\JsonContent(ref: '#/components/schemas/SummitScheduleConfig')
338338
),
@@ -378,7 +378,7 @@ public function get($summit_id, $config_id)
378378
),
379379
responses: [
380380
new OA\Response(
381-
response: Response::HTTP_CREATED,
381+
response: 201,
382382
description: 'Created',
383383
content: new OA\JsonContent(ref: '#/components/schemas/SummitScheduleConfig')
384384
),
@@ -433,7 +433,7 @@ public function add($summit_id)
433433
),
434434
responses: [
435435
new OA\Response(
436-
response: Response::HTTP_OK,
436+
response: 200,
437437
description: 'Success',
438438
content: new OA\JsonContent(ref: '#/components/schemas/SummitScheduleConfig')
439439
),
@@ -522,7 +522,7 @@ public function delete($summit_id, $config_id)
522522
)
523523
],
524524
responses: [
525-
new OA\Response(response: Response::HTTP_OK, description: 'Success with an empty response body'),
525+
new OA\Response(response: 200, description: 'Success with an empty response body'),
526526
new OA\Response(response: Response::HTTP_UNAUTHORIZED, description: "Unauthorized"),
527527
new OA\Response(response: Response::HTTP_FORBIDDEN, description: "Forbidden"),
528528
]
@@ -581,7 +581,7 @@ enum: ['DATE', 'TRACK', 'TRACK_GROUPS', 'COMPANY', 'LEVEL', 'SPEAKERS', 'VENUES'
581581
),
582582
responses: [
583583
new OA\Response(
584-
response: Response::HTTP_CREATED,
584+
response: 201,
585585
description: 'Created',
586586
content: new OA\JsonContent(ref: '#/components/schemas/SummitScheduleFilterElementConfig')
587587
),
@@ -668,7 +668,7 @@ enum: ['DATE', 'TRACK', 'TRACK_GROUPS', 'COMPANY', 'LEVEL', 'SPEAKERS', 'VENUES'
668668
),
669669
responses: [
670670
new OA\Response(
671-
response: Response::HTTP_OK,
671+
response: 200,
672672
description: 'Success',
673673
content: new OA\JsonContent(ref: '#/components/schemas/SummitScheduleFilterElementConfig')
674674
),
@@ -727,7 +727,7 @@ function($filter_id, $payload, $summit, $config_id){
727727
],
728728
responses: [
729729
new OA\Response(
730-
response: Response::HTTP_CREATED,
730+
response: 201,
731731
description: 'Created',
732732
content: new OA\JsonContent(ref: '#/components/schemas/PaginatedSummitScheduleConfigsResponse')
733733
),

app/Http/Controllers/JsonController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,4 @@ protected function pdf(string $filename, string $content){
215215

216216
return Response::make($content, 200, $headers);
217217
}
218-
}
218+
}

0 commit comments

Comments
 (0)