• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    미해결

음...rest docs responseFields에서 _links정 무시하고 싶으면

19.11.09 20:05 작성 조회수 264

9

relaxed를 쓰는건 ... 무조건 지양하고 싶어서 마음엔 들지 않지만.

저는.. 일단 이렇게 했습니다.

fieldWithPath("_links.*").ignored(),
fieldWithPath("_links.self.*").ignored(),
fieldWithPath("_links.events.*").ignored(),
fieldWithPath("_links.update.*").ignored()

답변 2

·

답변을 작성해보세요.

1

네 그렇게 할 수도 있죠. 감사합니다.

0

Kenny님의 프로필

Kenny

2023.12.01

subsectionWithPath("_links").ignored()

이렇게도 가능하네요!