diff --git a/booklore-api/build.gradle b/booklore-api/build.gradle index 1a7733680..8dafdd65f 100644 --- a/booklore-api/build.gradle +++ b/booklore-api/build.gradle @@ -36,6 +36,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-mail' implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' + implementation 'org.springframework.boot:spring-boot-starter-flyway' // --- Database & Migration --- implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.6' diff --git a/booklore-api/src/main/resources/application.yaml b/booklore-api/src/main/resources/application.yaml index 794c36eff..afcdc9cdc 100644 --- a/booklore-api/src/main/resources/application.yaml +++ b/booklore-api/src/main/resources/application.yaml @@ -51,6 +51,10 @@ spring: flyway: enabled: true locations: classpath:db/migration + jackson: + deserialization: + fail-on-null-for-primitives: false + fail-on-unknown-properties: false springdoc: swagger-ui: