@@ -790,7 +790,7 @@ public function actionGetExamLocks(string $id, string $examId)
790790 * @throws BadRequestException
791791 */
792792 #[Path("id " , new VUuid (), "An identifier of the relocated group " , required: true )]
793- #[Path("newParentId " , new VString (), "An identifier of the new parent group " , required: true )]
793+ #[Path("newParentId " , new VUuid (), "An identifier of the new parent group " , required: true )]
794794 public function actionRelocate (string $ id , string $ newParentId )
795795 {
796796 $ group = $ this ->groups ->findOrThrow ($ id );
@@ -959,7 +959,7 @@ public function checkAddMember(string $id, string $userId)
959959 */
960960 #[Post("type " , new VString (1 ), "Identifier of membership type (admin, supervisor, ...) " , required: true )]
961961 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
962- #[Path("userId " , new VString (), "Identifier of the supervisor " , required: true )]
962+ #[Path("userId " , new VUuid (), "Identifier of the supervisor " , required: true )]
963963 #[ResponseFormat(GroupFormat::class)]
964964 public function actionAddMember (string $ id , string $ userId )
965965 {
@@ -1006,7 +1006,7 @@ public function checkRemoveMember(string $id, string $userId)
10061006 * @DELETE
10071007 */
10081008 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1009- #[Path("userId " , new VString (), "Identifier of the supervisor " , required: true )]
1009+ #[Path("userId " , new VUuid (), "Identifier of the supervisor " , required: true )]
10101010 #[ResponseFormat(GroupFormat::class)]
10111011 public function actionRemoveMember (string $ id , string $ userId )
10121012 {
@@ -1148,7 +1148,7 @@ public function checkStudentsStats(string $id, string $userId)
11481148 * @throws BadRequestException
11491149 */
11501150 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1151- #[Path("userId " , new VString (), "Identifier of the student " , required: true )]
1151+ #[Path("userId " , new VUuid (), "Identifier of the student " , required: true )]
11521152 public function actionStudentsStats (string $ id , string $ userId )
11531153 {
11541154 $ user = $ this ->users ->findOrThrow ($ userId );
@@ -1178,7 +1178,7 @@ public function checkStudentsSolutions(string $id, string $userId)
11781178 * @throws BadRequestException
11791179 */
11801180 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1181- #[Path("userId " , new VString (), "Identifier of the student " , required: true )]
1181+ #[Path("userId " , new VUuid (), "Identifier of the student " , required: true )]
11821182 public function actionStudentsSolutions (string $ id , string $ userId )
11831183 {
11841184 $ user = $ this ->users ->findOrThrow ($ userId );
@@ -1225,7 +1225,7 @@ public function checkAddStudent(string $id, string $userId)
12251225 * @POST
12261226 */
12271227 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1228- #[Path("userId " , new VString (), "Identifier of the student " , required: true )]
1228+ #[Path("userId " , new VUuid (), "Identifier of the student " , required: true )]
12291229 #[ResponseFormat(GroupFormat::class)]
12301230 public function actionAddStudent (string $ id , string $ userId )
12311231 {
@@ -1257,7 +1257,7 @@ public function checkRemoveStudent(string $id, string $userId)
12571257 * @DELETE
12581258 */
12591259 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1260- #[Path("userId " , new VString (), "Identifier of the student " , required: true )]
1260+ #[Path("userId " , new VUuid (), "Identifier of the student " , required: true )]
12611261 #[ResponseFormat(GroupFormat::class)]
12621262 public function actionRemoveStudent (string $ id , string $ userId )
12631263 {
@@ -1290,7 +1290,7 @@ public function checkLockStudent(string $id, string $userId)
12901290 * @POST
12911291 */
12921292 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1293- #[Path("userId " , new VString (), "Identifier of the student " , required: true )]
1293+ #[Path("userId " , new VUuid (), "Identifier of the student " , required: true )]
12941294 public function actionLockStudent (string $ id , string $ userId )
12951295 {
12961296 $ user = $ this ->users ->findOrThrow ($ userId );
@@ -1330,7 +1330,7 @@ public function checkUnlockStudent(string $id, string $userId)
13301330 * @DELETE
13311331 */
13321332 #[Path("id " , new VUuid (), "Identifier of the group " , required: true )]
1333- #[Path("userId " , new VString (), "Identifier of the student " , required: true )]
1333+ #[Path("userId " , new VUuid (), "Identifier of the student " , required: true )]
13341334 public function actionUnlockStudent (string $ id , string $ userId )
13351335 {
13361336 $ user = $ this ->users ->findOrThrow ($ userId );
0 commit comments