Skip to content

Commit

Permalink
stash
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Jan 24, 2022
1 parent 2f92863 commit 9b11244
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion webapp/config/packages/nelmio_api_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ nelmio_api_doc:
components:
securitySchemes:
basicAuth:
type: http
type: https
scheme: basic
parameters:
cid:
Expand Down
1 change: 1 addition & 0 deletions webapp/src/Controller/API/AbstractRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

/**
* Class AbstractRestController
* @OA\Response(response="400", ref="#/components/responses/InvalidResponse")
* @package App\Controller\API
*/
abstract class AbstractRestController extends AbstractFOSRestController
Expand Down
4 changes: 0 additions & 4 deletions webapp/src/Controller/API/ContestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,6 @@ public function setBannerAction(Request $request, string $id, ValidatorInterface
* description="Contest start time changed successfully",
* )
* @OA\Response(
* response="400",
* description="Invalid input data"
* )
* @OA\Response(
* response="403",
* description="Changing start time not allowed"
* )
Expand Down
1 change: 1 addition & 0 deletions webapp/src/Controller/API/GeneralInfoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

/**
* @OA\Tag(name="General")
* @OA\Response(response="400", ref="#/components/responses/InvalidResponse")
*/
class GeneralInfoController extends AbstractFOSRestController
{
Expand Down
Binary file not shown.

0 comments on commit 9b11244

Please sign in to comment.