From 4ae2404b610a2163c3077bd216affec8e8ac08d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=A1=EC=98=81=EB=AF=BC?= Date: Sat, 22 Jun 2024 18:59:48 +0900 Subject: [PATCH] refactor: move annotation folder --- .../kr/mafoo/user/{config => annotation}/RequestMemberId.java | 2 +- user-service/src/main/java/kr/mafoo/user/api/MeApi.java | 2 +- .../java/kr/mafoo/user/config/MemberIdParameterResolver.java | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename user-service/src/main/java/kr/mafoo/user/{config => annotation}/RequestMemberId.java (89%) diff --git a/user-service/src/main/java/kr/mafoo/user/config/RequestMemberId.java b/user-service/src/main/java/kr/mafoo/user/annotation/RequestMemberId.java similarity index 89% rename from user-service/src/main/java/kr/mafoo/user/config/RequestMemberId.java rename to user-service/src/main/java/kr/mafoo/user/annotation/RequestMemberId.java index 8e3be44..a7c9843 100644 --- a/user-service/src/main/java/kr/mafoo/user/config/RequestMemberId.java +++ b/user-service/src/main/java/kr/mafoo/user/annotation/RequestMemberId.java @@ -1,4 +1,4 @@ -package kr.mafoo.user.config; +package kr.mafoo.user.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/user-service/src/main/java/kr/mafoo/user/api/MeApi.java b/user-service/src/main/java/kr/mafoo/user/api/MeApi.java index 8179658..92ade94 100644 --- a/user-service/src/main/java/kr/mafoo/user/api/MeApi.java +++ b/user-service/src/main/java/kr/mafoo/user/api/MeApi.java @@ -3,7 +3,7 @@ import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; -import kr.mafoo.user.config.RequestMemberId; +import kr.mafoo.user.annotation.RequestMemberId; import kr.mafoo.user.controller.dto.response.MemberResponse; import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.GetMapping; diff --git a/user-service/src/main/java/kr/mafoo/user/config/MemberIdParameterResolver.java b/user-service/src/main/java/kr/mafoo/user/config/MemberIdParameterResolver.java index 089343b..856e51d 100644 --- a/user-service/src/main/java/kr/mafoo/user/config/MemberIdParameterResolver.java +++ b/user-service/src/main/java/kr/mafoo/user/config/MemberIdParameterResolver.java @@ -1,6 +1,7 @@ package kr.mafoo.user.config; +import kr.mafoo.user.annotation.RequestMemberId; import org.springframework.core.MethodParameter; import org.springframework.web.reactive.BindingContext; import org.springframework.web.reactive.result.method.HandlerMethodArgumentResolver;