perf: /env 端点在 dev 环境下显示属性值

This commit is contained in:
xiongxiaoyang 2024-07-17 18:02:01 +08:00
parent 8da6f8263c
commit d63be23aca

View File

@ -259,9 +259,15 @@ spring:
config:
activate:
on-profile: dev
# 开启 SpringDoc 接口文档
springdoc:
api-docs:
enabled: true
# /env 端点显示属性值
management:
endpoint:
env:
show-values: when_authorized
--- #------------------- test 特定配置--------------------------
spring: