Skip to content

Commit

Permalink
Add Jackson configuration to application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasHavers committed Nov 14, 2018
1 parent 2610b9b commit 7fa37d3
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
---
micronaut:
application:
name: book-catalog
application:
name: book-catalog

---
mongodb:
uri: "mongodb://${MONGO_HOST:localhost}:${MONGO_PORT:27017}"
database: book-catalog
collection: books
uri: "mongodb://${MONGO_HOST:localhost}:${MONGO_PORT:27017}"
database: book-catalog
collection: books

---
jackson:
serialization:
indentOutput: true
writeDatesAsTimestamps: false
serializationInclusion: always
deserialization:
failOnUnknownProperties: false

0 comments on commit 7fa37d3

Please sign in to comment.