Enable JSON pretty print for better readability

This commit is contained in:
Spring Developer
2025-12-21 10:34:37 +00:00
parent d87068a17c
commit a71279d4ba

View File

@@ -1,11 +1,13 @@
spring:
application:
name: springboot-api
datasource:
url: jdbc:mysql://mysql:3306/devdb?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
username: devuser
password: p4fH5NB0y22ytwrB
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
@@ -14,13 +16,20 @@ spring:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.MySQLDialect
data:
redis:
host: redis
port: 6379
timeout: 2000ms
jackson:
serialization:
indent-output: true
server:
port: 8080
management:
endpoints:
web:
@@ -29,6 +38,7 @@ management:
endpoint:
health:
show-details: always
logging:
level:
com.vrobot.api: DEBUG