diff --git a/api/src/main/kotlin/com/few/api/web/controller/article/response/ReadArticleResponse.kt b/api/src/main/kotlin/com/few/api/web/controller/article/response/ReadArticleResponse.kt index fa609cfa0..ecb76a624 100644 --- a/api/src/main/kotlin/com/few/api/web/controller/article/response/ReadArticleResponse.kt +++ b/api/src/main/kotlin/com/few/api/web/controller/article/response/ReadArticleResponse.kt @@ -1,6 +1,5 @@ package com.few.api.web.controller.article.response -import com.fasterxml.jackson.annotation.JsonFormat import java.net.URL import java.time.LocalDateTime @@ -12,7 +11,6 @@ data class ReadArticleResponse( val content: String, val problemIds: List, val category: String, - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") val createdAt: LocalDateTime, val views: Long, val workbooks: List = emptyList(), diff --git a/api/src/main/kotlin/com/few/api/web/controller/subscription/response/MainViewBrowseSubscribeWorkbooksResponse.kt b/api/src/main/kotlin/com/few/api/web/controller/subscription/response/MainViewBrowseSubscribeWorkbooksResponse.kt index ccf23008a..c7a8b2972 100644 --- a/api/src/main/kotlin/com/few/api/web/controller/subscription/response/MainViewBrowseSubscribeWorkbooksResponse.kt +++ b/api/src/main/kotlin/com/few/api/web/controller/subscription/response/MainViewBrowseSubscribeWorkbooksResponse.kt @@ -1,6 +1,5 @@ package com.few.api.web.controller.subscription.response -import com.fasterxml.jackson.annotation.JsonFormat import com.fasterxml.jackson.annotation.JsonInclude import com.few.api.domain.workbook.usecase.dto.WriterDetail import java.net.URL @@ -17,7 +16,6 @@ data class MainViewSubscribeWorkbookInfo( val title: String, val description: String, val category: String, - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") val createdAt: LocalDateTime, val writerDetails: List, val subscriptionCount: Long, diff --git a/api/src/main/kotlin/com/few/api/web/controller/workbook/article/response/ReadWorkBookArticleResponse.kt b/api/src/main/kotlin/com/few/api/web/controller/workbook/article/response/ReadWorkBookArticleResponse.kt index 4279a4f10..2d10346aa 100644 --- a/api/src/main/kotlin/com/few/api/web/controller/workbook/article/response/ReadWorkBookArticleResponse.kt +++ b/api/src/main/kotlin/com/few/api/web/controller/workbook/article/response/ReadWorkBookArticleResponse.kt @@ -1,6 +1,5 @@ package com.few.api.web.controller.workbook.article.response -import com.fasterxml.jackson.annotation.JsonFormat import com.few.api.domain.workbook.article.dto.ReadWorkBookArticleOut import com.few.api.web.controller.workbook.response.WriterInfo import java.time.LocalDateTime @@ -12,7 +11,6 @@ data class ReadWorkBookArticleResponse( val content: String, val problemIds: List, val category: String, - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") val createdAt: LocalDateTime, val day: Long, ) { diff --git a/api/src/main/kotlin/com/few/api/web/controller/workbook/response/BrowseWorkBooksResponse.kt b/api/src/main/kotlin/com/few/api/web/controller/workbook/response/BrowseWorkBooksResponse.kt index 23434471d..bedb84de9 100644 --- a/api/src/main/kotlin/com/few/api/web/controller/workbook/response/BrowseWorkBooksResponse.kt +++ b/api/src/main/kotlin/com/few/api/web/controller/workbook/response/BrowseWorkBooksResponse.kt @@ -1,6 +1,5 @@ package com.few.api.web.controller.workbook.response -import com.fasterxml.jackson.annotation.JsonFormat import java.net.URL import java.time.LocalDateTime @@ -14,7 +13,6 @@ data class BrowseWorkBookInfo( val title: String, val description: String, val category: String, - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") val createdAt: LocalDateTime, val writers: List, val subscriberCount: Long, diff --git a/api/src/main/kotlin/com/few/api/web/controller/workbook/response/ReadWorkBookResponse.kt b/api/src/main/kotlin/com/few/api/web/controller/workbook/response/ReadWorkBookResponse.kt index 26e4ff94c..090ef090f 100644 --- a/api/src/main/kotlin/com/few/api/web/controller/workbook/response/ReadWorkBookResponse.kt +++ b/api/src/main/kotlin/com/few/api/web/controller/workbook/response/ReadWorkBookResponse.kt @@ -1,6 +1,5 @@ package com.few.api.web.controller.workbook.response -import com.fasterxml.jackson.annotation.JsonFormat import com.few.api.domain.workbook.usecase.dto.ReadWorkbookUseCaseOut import java.net.URL import java.time.LocalDateTime @@ -11,7 +10,6 @@ data class ReadWorkBookResponse( val title: String, val description: String, val category: String, - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss") val createdAt: LocalDateTime, val writers: List, val articles: List,