|
40 | 40 | * Class OAuth2SummitOrderExtraQuestionTypeApiController |
41 | 41 | * @package App\Http\Controllers |
42 | 42 | */ |
43 | | -#[OA\Tag(name: "Order Extra Questions", description: "Summit Order Extra Questions Management")] |
44 | 43 | final class OAuth2SummitOrderExtraQuestionTypeApiController |
45 | 44 | extends OAuth2ProtectedController |
46 | 45 | { |
@@ -140,7 +139,7 @@ public function __construct |
140 | 139 | new OA\Response( |
141 | 140 | response: Response::HTTP_OK, |
142 | 141 | description: "Order extra questions retrieved successfully", |
143 | | - content: new OA\JsonContent(ref: "#/components/schemas/PaginateDataSchemaResponse") |
| 142 | + content: new OA\JsonContent(ref: "#/components/schemas/PaginatedSummitOrderExtraQuestionTypesResponse") |
144 | 143 | ), |
145 | 144 | new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Summit not found"), |
146 | 145 | ] |
@@ -198,7 +197,7 @@ public function __construct |
198 | 197 | new OA\Response( |
199 | 198 | response: Response::HTTP_OK, |
200 | 199 | description: "Order extra questions retrieved successfully", |
201 | | - content: new OA\JsonContent(ref: "#/components/schemas/PaginateDataSchemaResponse") |
| 200 | + content: new OA\JsonContent(ref: "#/components/schemas/PaginatedSummitOrderExtraQuestionTypesResponse") |
202 | 201 | ), |
203 | 202 | new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Summit not found"), |
204 | 203 | ] |
@@ -728,7 +727,7 @@ public function deleteQuestionValue($summit_id, $question_id, $value_id) |
728 | 727 | new OA\Response( |
729 | 728 | response: Response::HTTP_CREATED, |
730 | 729 | description: "Default questions seeded successfully", |
731 | | - content: new OA\JsonContent(ref: "#/components/schemas/PaginateDataSchemaResponse") |
| 730 | + content: new OA\JsonContent(ref: "#/components/schemas/PaginatedSummitOrderExtraQuestionTypesResponse") |
732 | 731 | ), |
733 | 732 | new OA\Response(response: Response::HTTP_UNAUTHORIZED, description: "Unauthorized"), |
734 | 733 | new OA\Response(response: Response::HTTP_FORBIDDEN, description: "Forbidden"), |
@@ -792,7 +791,7 @@ public function seedDefaultSummitExtraOrderQuestionTypesBySummit($summit_id) |
792 | 791 | new OA\Response( |
793 | 792 | response: Response::HTTP_OK, |
794 | 793 | description: "Sub question rules retrieved successfully", |
795 | | - content: new OA\JsonContent(ref: "#/components/schemas/PaginateDataSchemaResponse") |
| 794 | + content: new OA\JsonContent(ref: "#/components/schemas/PaginatedSubQuestionRulesResponse") |
796 | 795 | ), |
797 | 796 | new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Question or Summit not found"), |
798 | 797 | ] |
@@ -1122,7 +1121,7 @@ public function deleteSubQuestionRule($summit_id, $question_id, $rule_id) |
1122 | 1121 | new OA\Response( |
1123 | 1122 | response: Response::HTTP_OK, |
1124 | 1123 | description: "Allowed questions retrieved successfully", |
1125 | | - content: new OA\JsonContent(ref: "#/components/schemas/PaginateDataSchemaResponse") |
| 1124 | + content: new OA\JsonContent(ref: "#/components/schemas/PaginatedSummitOrderExtraQuestionTypesResponse") |
1126 | 1125 | ), |
1127 | 1126 | new OA\Response(response: Response::HTTP_NOT_FOUND, description: "Summit or attendee not found"), |
1128 | 1127 | ] |
@@ -1173,7 +1172,7 @@ public function getOwnAttendeeAllowedExtraQuestions($summit_id) |
1173 | 1172 | new OA\Response( |
1174 | 1173 | response: Response::HTTP_OK, |
1175 | 1174 | description: "Allowed questions retrieved successfully", |
1176 | | - content: new OA\JsonContent(ref: "#/components/schemas/PaginateDataSchemaResponse") |
| 1175 | + content: new OA\JsonContent(ref: "#/components/schemas/PaginatedSummitOrderExtraQuestionTypesResponse") |
1177 | 1176 | ), |
1178 | 1177 | new OA\Response(response: Response::HTTP_UNAUTHORIZED, description: "Unauthorized"), |
1179 | 1178 | new OA\Response(response: Response::HTTP_FORBIDDEN, description: "You are not Authorized"), |
|
0 commit comments