如何在 YML 值中 add/use 冒号“:”?

How to add/use colon ":" in the YML value?

如何在YML value中add/use冒号:?

spring:
  application:
    name: app
  profiles:
    active: DEV
  config:
    import: configserver:

上面的例子configserver:报错

双引号 "" 有效

spring:
  application:
    name: app
  profiles:
    active: DEV
  config:
    import: "configserver:"