Skip to content

Commit

Permalink
docs : 내가 가입한 보험 리스트 조회 API 문서 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
1000kkannoo committed Aug 16, 2024
1 parent 24f3e9d commit 9f35ac2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,14 @@ protected Object initController() {
fieldWithPath("data[].insuranceCompany").type(STRING).description("내 보험 회사"))
.build();

documentHandler("read-account-insurances", prettyPrint(), resource);
RestDocumentationResultHandler document = documentHandler("read-account-insurances", prettyPrint(), resource);

// when // then
mockMvc.perform(MockMvcRequestBuilders.get("/api/account/insurances")
.header("Authorization", "Bearer AccessToken"))
.andDo(print())
.andExpect(status().isOk());
.andExpect(status().isOk())
.andDo(document);
}

@DisplayName("닉네임 업데이트 API")
Expand Down

0 comments on commit 9f35ac2

Please sign in to comment.