Under spring-boot 2.2.2 environment, when my yml config like as :

mmmm:  {
    "GT-*" : GT-66666
    }

I used @ConfigurationProperties to load yml content into java Map, this key became "GT-" instead of "GT- *" I wanted

Comment From: evin-zhang

It is a problem with my writing format, Key needs to be escaped with []