From 2d81c0ea97034dee3903bf008e36bd52b785b771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=90=ED=99=8D=EC=84=9D?= <78216059+bayy1216@users.noreply.github.com> Date: Thu, 30 May 2024 14:12:09 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]:=20api=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zzansuni/controller/challenge/ChallengeController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/controller/challenge/ChallengeController.java b/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/controller/challenge/ChallengeController.java index 9f62037..df6af68 100644 --- a/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/controller/challenge/ChallengeController.java +++ b/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/controller/challenge/ChallengeController.java @@ -7,6 +7,7 @@ import org.haedal.zzansuni.controller.PagingRequest; import org.haedal.zzansuni.controller.PagingResponse; import org.haedal.zzansuni.core.api.ApiResponse; +import org.haedal.zzansuni.domain.challenge.ChallengeCategory; import org.haedal.zzansuni.global.jwt.JwtUser; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.web.bind.annotation.GetMapping; @@ -22,7 +23,8 @@ public class ChallengeController { @Operation(summary = "챌린지 목록 조회", description = "챌린지 목록 페이징 조회한다.") @GetMapping("/api/challenges") public ApiResponse> getChallengesPaging( - @Valid PagingRequest pagingRequest + @Valid PagingRequest pagingRequest, + @RequestParam ChallengeCategory category ) { throw new RuntimeException("Not implemented"); }