|
72 | 72 | description: 'OK', |
73 | 73 | content: new OA\JsonContent(ref: '#/components/schemas/PaginatedUserRegistrationRequestResponse') |
74 | 74 | ), |
| 75 | + new OA\Response( |
| 76 | + response: HttpResponse::HTTP_FORBIDDEN, |
| 77 | + description: 'Forbidden' |
| 78 | + ), |
| 79 | + new OA\Response( |
| 80 | + response: HttpResponse::HTTP_UNAUTHORIZED, |
| 81 | + description: 'Unauthorized' |
| 82 | + ), |
75 | 83 | new OA\Response( |
76 | 84 | response: HttpResponse::HTTP_PRECONDITION_FAILED, |
77 | 85 | description: 'Precondition Failed' |
@@ -169,6 +177,14 @@ protected function getFilterValidatorRules(): array |
169 | 177 | description: 'Created', |
170 | 178 | content: new OA\JsonContent(ref: '#/components/schemas/UserRegistrationRequest') |
171 | 179 | ), |
| 180 | + new OA\Response( |
| 181 | + response: HttpResponse::HTTP_FORBIDDEN, |
| 182 | + description: 'Forbidden' |
| 183 | + ), |
| 184 | + new OA\Response( |
| 185 | + response: HttpResponse::HTTP_UNAUTHORIZED, |
| 186 | + description: 'Unauthorized' |
| 187 | + ), |
172 | 188 | new OA\Response( |
173 | 189 | response: HttpResponse::HTTP_BAD_REQUEST, |
174 | 190 | description: 'Bad Request' |
@@ -261,9 +277,17 @@ public function register(){ |
261 | 277 | responses: [ |
262 | 278 | new OA\Response( |
263 | 279 | response: HttpResponse::HTTP_CREATED, |
264 | | - description: 'OK', |
| 280 | + description: 'Updated', |
265 | 281 | content: new OA\JsonContent(ref: '#/components/schemas/UserRegistrationRequest') |
266 | 282 | ), |
| 283 | + new OA\Response( |
| 284 | + response: HttpResponse::HTTP_FORBIDDEN, |
| 285 | + description: 'Forbidden' |
| 286 | + ), |
| 287 | + new OA\Response( |
| 288 | + response: HttpResponse::HTTP_UNAUTHORIZED, |
| 289 | + description: 'Unauthorized' |
| 290 | + ), |
267 | 291 | new OA\Response( |
268 | 292 | response: HttpResponse::HTTP_BAD_REQUEST, |
269 | 293 | description: 'Bad Request' |
|
0 commit comments