Skip to content

Commit b16a344

Browse files
committed
fix: Changed required: false to true for the summit id path parameter in the addMediaUploadTypeToPresentationType endpoint
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent 77d1fd7 commit b16a344

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function __construct
9393
new OA\Parameter(
9494
name: 'id',
9595
in: 'path',
96-
required: false,
96+
required: true,
9797
schema: new OA\Schema(type: 'integer'),
9898
description: 'The summit ID'
9999
),
@@ -179,7 +179,7 @@ public function __construct
179179
new OA\Parameter(
180180
name: 'id',
181181
in: 'path',
182-
required: false,
182+
required: true,
183183
schema: new OA\Schema(type: 'integer'),
184184
description: 'The summit ID'
185185
),
@@ -242,7 +242,7 @@ public function __construct
242242
new OA\Parameter(
243243
name: 'id',
244244
in: 'path',
245-
required: false,
245+
required: true,
246246
schema: new OA\Schema(type: 'integer'),
247247
description: 'The summit ID'
248248
),
@@ -290,7 +290,7 @@ public function __construct
290290
new OA\Parameter(
291291
name: 'id',
292292
in: 'path',
293-
required: false,
293+
required: true,
294294
schema: new OA\Schema(type: 'integer'),
295295
description: 'The summit ID'
296296
),
@@ -345,7 +345,7 @@ public function __construct
345345
new OA\Parameter(
346346
name: 'id',
347347
in: 'path',
348-
required: false,
348+
required: true,
349349
schema: new OA\Schema(type: 'integer'),
350350
description: 'The summit ID'
351351
),
@@ -509,7 +509,7 @@ protected function updateChild(Summit $summit, int $child_id, array $payload): I
509509
new OA\Parameter(
510510
name: 'id',
511511
in: 'path',
512-
required: false,
512+
required: true,
513513
schema: new OA\Schema(type: 'integer'),
514514
description: 'The summit ID'
515515
),
@@ -586,7 +586,7 @@ public function addToPresentationType($summit_id, $media_upload_type_id, $presen
586586
new OA\Parameter(
587587
name: 'id',
588588
in: 'path',
589-
required: false,
589+
required: true,
590590
schema: new OA\Schema(type: 'integer'),
591591
description: 'The summit ID'
592592
),
@@ -662,7 +662,7 @@ public function deleteFromPresentationType($summit_id, $media_upload_type_id, $p
662662
new OA\Parameter(
663663
name: 'id',
664664
in: 'path',
665-
required: false,
665+
required: true,
666666
schema: new OA\Schema(type: 'integer'),
667667
description: 'The summit ID'
668668
),

0 commit comments

Comments
 (0)