Skip to content

Commit

Permalink
Fix(#24): jsonignore 어노테이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nohy6630 committed Oct 16, 2023
1 parent 8111231 commit 00a4331
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.numberone.backend.domain.token.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -8,6 +9,7 @@
@ToString
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@JsonIgnoreProperties(ignoreUnknown = true)
public class KakaoInfoResponse {
private Long id;
private String connected_at;
Expand All @@ -17,6 +19,7 @@ public class KakaoInfoResponse {
@ToString
@Getter
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class Properties {
private String nickname;
private String profile_image;
Expand All @@ -26,6 +29,7 @@ public class Properties {
@ToString
@Getter
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class KakaoAccount {
static class profile {
private String nickname;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.numberone.backend.domain.token.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -8,6 +9,7 @@
@ToString
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@JsonIgnoreProperties(ignoreUnknown = true)
public class NaverInfoResponse {
private String resultcode;
private String message;
Expand All @@ -16,6 +18,7 @@ public class NaverInfoResponse {
@ToString
@Getter
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class Response {
private String id;
private String nickname;
Expand Down

0 comments on commit 00a4331

Please sign in to comment.