Skip to content

Commit

Permalink
Merge pull request #134 from kookmin-sw/backend/develop/v3
Browse files Browse the repository at this point in the history
Backend/develop/v3
  • Loading branch information
J-Yong99 authored May 7, 2024
2 parents c8f339c + f8d5715 commit b6ea698
Show file tree
Hide file tree
Showing 2 changed files with 632 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,23 @@ void getTripFiles() throws Exception {
.email("test")
.yearDate(LocalDate.now())
.analyzingCount(1)
.totalCount(1)
.build(),
TripFileResponseDTO.GetTripFile.builder()
.id(2L)
.tripId(2L)
.email("test")
.yearDate(LocalDate.now().plusDays(1))
.analyzingCount(2)
.totalCount(1)
.build(),
TripFileResponseDTO.GetTripFile.builder()
.id(3L)
.tripId(3L)
.email("test")
.yearDate(LocalDate.now().plusDays(2))
.analyzingCount(1)
.totalCount(1)
.build()
);
TripFileResponseDTO.GetAllTripFile allTripFile = TripFileResponseDTO.GetAllTripFile.builder()
Expand Down Expand Up @@ -108,7 +111,8 @@ void getTripFiles() throws Exception {
fieldWithPath("data.tripFiles[].tripId").type(JsonFieldType.NUMBER).description("여행 ID"),
fieldWithPath("data.tripFiles[].email").type(JsonFieldType.STRING).description("유저 email"),
fieldWithPath("data.tripFiles[].yearDate").type(JsonFieldType.STRING).attributes(getDateFormat()).description("연월일"),
fieldWithPath("data.tripFiles[].analyzingCount").type(JsonFieldType.NUMBER).description("분석 중 파일 개수")
fieldWithPath("data.tripFiles[].analyzingCount").type(JsonFieldType.NUMBER).description("분석 중 파일 개수"),
fieldWithPath("data.tripFiles[].totalCount").type(JsonFieldType.NUMBER).description("전체 파일 개수")
)
)
)
Expand All @@ -124,20 +128,23 @@ void getUntitledTripFiles() throws Exception {
.email("test")
.yearDate(LocalDate.now())
.analyzingCount(1)
.totalCount(1)
.build(),
TripFileResponseDTO.GetTripFile.builder()
.id(2L)
.tripId(2L)
.email("test")
.yearDate(LocalDate.now().plusDays(1))
.analyzingCount(2)
.totalCount(1)
.build(),
TripFileResponseDTO.GetTripFile.builder()
.id(3L)
.tripId(3L)
.email("test")
.yearDate(LocalDate.now().plusDays(2))
.analyzingCount(1)
.totalCount(1)
.build()
);
TripFileResponseDTO.GetAllTripFile allTripFile = TripFileResponseDTO.GetAllTripFile.builder()
Expand Down Expand Up @@ -166,7 +173,8 @@ void getUntitledTripFiles() throws Exception {
fieldWithPath("data.tripFiles[].tripId").type(JsonFieldType.NUMBER).description("여행 ID"),
fieldWithPath("data.tripFiles[].email").type(JsonFieldType.STRING).description("유저 email"),
fieldWithPath("data.tripFiles[].yearDate").type(JsonFieldType.STRING).attributes(getDateFormat()).description("연월일"),
fieldWithPath("data.tripFiles[].analyzingCount").type(JsonFieldType.NUMBER).description("분석 중 파일 개수")
fieldWithPath("data.tripFiles[].analyzingCount").type(JsonFieldType.NUMBER).description("분석 중 파일 개수"),
fieldWithPath("data.tripFiles[].totalCount").type(JsonFieldType.NUMBER).description("전체 파일 개수")
)
)
)
Expand Down
Loading

0 comments on commit b6ea698

Please sign in to comment.