@@ -279,7 +279,7 @@ public function updateJudgingAction(
279
279
Request $ request ,
280
280
#[OA \PathParameter(description: 'The hostname of the judgehost that wants to update the judging ' )]
281
281
string $ hostname ,
282
- #[OA \PathParameter(description: 'The ID of the judgetask to update ' )]
282
+ #[OA \PathParameter(description: 'The ID of the judgetask to update ' , schema: new OA \ Schema (type: ' integer ' ) )]
283
283
int $ judgetaskid
284
284
): void {
285
285
$ judgehost = $ this ->em ->getRepository (Judgehost::class)->findOneBy (['hostname ' => $ hostname ]);
@@ -470,7 +470,7 @@ public function addDebugInfo(
470
470
Request $ request ,
471
471
#[OA \PathParameter(description: 'The hostname of the judgehost that wants to add the debug info ' )]
472
472
string $ hostname ,
473
- #[OA \PathParameter(description: 'The ID of the judgetask to add ' )]
473
+ #[OA \PathParameter(description: 'The ID of the judgetask to add ' , schema: new OA \ Schema (type: ' integer ' ) )]
474
474
int $ judgeTaskId
475
475
): void {
476
476
$ judgeTask = $ this ->em ->getRepository (JudgeTask::class)->find ($ judgeTaskId );
@@ -607,7 +607,7 @@ public function addJudgingRunAction(
607
607
Request $ request ,
608
608
#[OA \PathParameter(description: 'The hostname of the judgehost that wants to add the judging run ' )]
609
609
string $ hostname ,
610
- #[OA \PathParameter(description: 'The ID of the judgetask to add ' )]
610
+ #[OA \PathParameter(description: 'The ID of the judgetask to add ' , schema: new OA \ Schema (type: ' integer ' ) )]
611
611
int $ judgeTaskId
612
612
): int {
613
613
$ required = [
@@ -1443,9 +1443,7 @@ private function getTestcaseFiles(string $id): array
1443
1443
description: 'Returns the workarray. ' ,
1444
1444
content: new OA \JsonContent (
1445
1445
type: 'array ' ,
1446
- items: new OA \Items (
1447
- new OA \Schema (ref: new Model (type: JudgeTask::class)),
1448
- )
1446
+ items: new OA \Items (ref: new Model (type: JudgeTask::class))
1449
1447
)
1450
1448
)]
1451
1449
#[OA \Parameter(
0 commit comments