Skip to content

Commit

Permalink
Fix [#21] @JsonProperty 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
geniusYoo committed May 22, 2024
1 parent 874beab commit 43db736
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.sopt.jumpit.position.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.sopt.jumpit.company.domain.Company;
import org.sopt.jumpit.company.dto.CompanyResponse;
import org.sopt.jumpit.position.domain.Position;
Expand All @@ -13,6 +14,7 @@ public record PartialPositionFindResponse(
Long id,
String title,
List<SkillResponse> skills,
@JsonProperty("company")
CompanyResponse companyResponse

) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
import java.util.List;

public record PositionDetailResponse(
@JsonProperty("positions")
@JsonProperty("position")
PositionContents positionContents,
List<SkillResponse> skills,
@JsonProperty("company")
CompanyResponse companyResponse
) {

Expand Down

0 comments on commit 43db736

Please sign in to comment.