From dcf14eaeac3bda02b36d0dca709d4aa4816cae41 Mon Sep 17 00:00:00 2001 From: bbabbi Date: Tue, 3 Dec 2024 02:10:55 +0900 Subject: [PATCH] =?UTF-8?q?=20[FIX]=20TechStack=20-=20Jackson=20=EC=97=AD?= =?UTF-8?q?=EC=A7=81=EB=A0=AC=ED=99=94=20=EA=B4=80=EB=A0=A8=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/readme/dto/request/TechStack.java | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/autorepo/server/domain/readme/dto/request/TechStack.java b/src/main/java/org/autorepo/server/domain/readme/dto/request/TechStack.java index 57a67e3..d6a1a57 100644 --- a/src/main/java/org/autorepo/server/domain/readme/dto/request/TechStack.java +++ b/src/main/java/org/autorepo/server/domain/readme/dto/request/TechStack.java @@ -2,9 +2,22 @@ import lombok.Data; +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Getter; +import lombok.RequiredArgsConstructor; + @Data +@Getter +@RequiredArgsConstructor public class TechStack { - private String name; - private String color; - private String icon; + + @JsonProperty("name") + private final String name; + + @JsonProperty("color") + private final String color; + + @JsonProperty("icon") + private final String icon; } +