I create ConfigurationProperties bean It will only generate groups and properties, but hints will always be an empty array

@Data
@ConfigurationProperties("demo")
public class DemoPeoperties{
    private String name;
    private String dbDriveClassName;
} 
{
  "groups": [
    {
      "name": "demo",
      "type": "com.DemoPeoperties",
      "sourceType": "com.DemoPeoperties"
    }
  ],
  "properties": [
    {
      "name": "demo.db-drive-class-name",
      "type": "java.lang.String",
      "sourceType": "com.DemoPeoperties"
    },
    {
      "name": "demo.name",
      "type": "java.lang.String",
      "sourceType": "com.DemoPeoperties"
    }
  ],
  "hints": []
}

How can I modify it so that it can be like this

{
    "groups": [
        {
            "name": "demo",
            "type": "com.DemoPeoperties",
            "sourceType": "com.DemoPeoperties"
        }
    ],
    "properties": [
        {
            "name": "demo.db-drive-class-name",
            "type": "java.lang.String",
            "sourceType": "com.DemoPeoperties"
        },
        {
            "name": "demo.name",
            "type": "java.lang.String",
            "sourceType": "com.DemoPeoperties"
        }
    ],
    "hints": [
        {
            "name": "demo.db-drive-class-name",
            "providers": [
                {
                    "name": "class-reference",
                    "parameters": {
                        "target": "java.sql.Driver"
                    }
                }
            ]
        }
    ]
}

Comment From: wilkinsona

The hints cannot be generated automatically. They must be provided manually in a file named META-INF/additional-spring-configuration-metadata.json. The format of that file and some examples can be found in the reference documentation.

If you have any further questions, please follow up on Stack Overflow or Gitter. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.