Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ermadmi78 committed May 21, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8605113 commit 0693d3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -166,9 +166,11 @@ adapter implementation for Spring Boot integration tests.
private val httpClient = HttpClient {
expectSuccess = true
install(JsonFeature) {
serializer = JacksonSerializer() {
serializer = JacksonSerializer {
registerModule(ParameterNamesModule(JsonCreator.Mode.PROPERTIES))
registerModule(JavaTimeModule())
// Force Jackson to serialize dates as String
disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS)
}
}
defaultRequest {

0 comments on commit 0693d3e

Please sign in to comment.