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; } +