Skip to content

Commit

Permalink
Swagger 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gidskql6671 committed May 28, 2024
1 parent 0ced0c2 commit 06c94c5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<GroupOfListDto> {
val user = authentication.principal as User
Expand Down

0 comments on commit 06c94c5

Please sign in to comment.