Skip to content

Commit 9b11244

Browse files
committed
stash
1 parent 2f92863 commit 9b11244

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

webapp/config/packages/nelmio_api_doc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ nelmio_api_doc:
99
components:
1010
securitySchemes:
1111
basicAuth:
12-
type: http
12+
type: https
1313
scheme: basic
1414
parameters:
1515
cid:

webapp/src/Controller/API/AbstractRestController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
/**
2727
* Class AbstractRestController
28+
* @OA\Response(response="400", ref="#/components/responses/InvalidResponse")
2829
* @package App\Controller\API
2930
*/
3031
abstract class AbstractRestController extends AbstractFOSRestController

webapp/src/Controller/API/ContestController.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,6 @@ public function setBannerAction(Request $request, string $id, ValidatorInterface
332332
* description="Contest start time changed successfully",
333333
* )
334334
* @OA\Response(
335-
* response="400",
336-
* description="Invalid input data"
337-
* )
338-
* @OA\Response(
339335
* response="403",
340336
* description="Changing start time not allowed"
341337
* )

webapp/src/Controller/API/GeneralInfoController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
/**
3131
* @OA\Tag(name="General")
32+
* @OA\Response(response="400", ref="#/components/responses/InvalidResponse")
3233
*/
3334
class GeneralInfoController extends AbstractFOSRestController
3435
{
12 KB
Binary file not shown.

0 commit comments

Comments
 (0)