【发布时间】:2021-08-04 03:01:55
【问题描述】:
在我的 yaml spring-boot 应用程序配置中
additional-properties[auto.register.schemas]: false
additional-properties[use.latest.version]: true
它有效!我在 YAML 规范中没有找到这种语法。这是什么意思?如何使用标准 YAML 重写它?和这个一样吗
additional-properties:
- auto.register.schemas: false
- use.latest.version: true
?
【问题讨论】:
-
根据文档,这可能是map binding。这肯定是 YAML 不知道的。您能否详细说明如何“它是如何工作的”?
标签: yaml