Skip to content

Commit 66c89ea

Browse files
fix: incorrect types and descriptions for errors
1 parent 6903980 commit 66c89ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ public function __construct
6262
description: 'Active involvements retrieved successfully',
6363
content: new OA\JsonContent(ref: '#/components/schemas/SpeakerActiveInvolvementsResponse')
6464
),
65-
new OA\Response(response: 404, ref: '#/components/responses/404'),
66-
new OA\Response(response: 412, ref: '#/components/responses/412'),
67-
new OA\Response(response: 500, ref: '#/components/responses/500'),
65+
new OA\Response(response: Response::HTTP_NOT_FOUND, description: "not found"),
66+
new OA\Response(response: Response::HTTP_PRECONDITION_FAILED, description: "Validation Error"),
67+
new OA\Response(response: Response::HTTP_INTERNAL_SERVER_ERROR, description: "Server Error"),
6868
]
6969
)]
7070
/**

0 commit comments

Comments
 (0)