From 06c94c58170286ac5c8d584e1f5b60e7d977f712 Mon Sep 17 00:00:00 2001 From: gidskql6671 Date: Wed, 29 May 2024 02:32:54 +0900 Subject: [PATCH] =?UTF-8?q?Swagger=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../knu/dong/onedayonebaek/user/controller/UserController.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/back/src/main/kotlin/knu/dong/onedayonebaek/user/controller/UserController.kt b/back/src/main/kotlin/knu/dong/onedayonebaek/user/controller/UserController.kt index 2b493ff..17dc35f 100644 --- a/back/src/main/kotlin/knu/dong/onedayonebaek/user/controller/UserController.kt +++ b/back/src/main/kotlin/knu/dong/onedayonebaek/user/controller/UserController.kt @@ -43,7 +43,10 @@ class UserController( @GetMapping fun loginUserInfo(authentication: Authentication) = (authentication.principal as User).toUserDto() - + @Operation( + summary = "내가 속한 그룹 목록 조회", + description = "로그인된 유저가 속한 그룹 목록을 조회한다." + ) @GetMapping("/my/groups") fun getMyGroups(authentication: Authentication): List { val user = authentication.principal as User