Invalid additional-spring-configuration-metadata.json
Reports missing and deprecated properties, unresolved references, and invalid values in the additional-spring-configuration-metadata.json
configuration file.
Example:
{
"properties": [
{
"name": "old.key",
"type": "com.Unknown", // Reports 'Cannot resolve class 'Unknown''
"description": "Description for old.key", // Reports 'Text should end with '.''
"deprecation": {
"replacement": "new.key", // Reports 'Cannot resolve configuration key reference 'new.key''
"reason": "Reason", // Reports 'Text should end with '.''
"level": "warning"
}
},
{
"name": "duplicate", // Reports 'Duplicate entry for 'duplicate''
"type": "java.lang.String"
},
{
"name": "duplicate", // Reports 'Duplicate entry for 'duplicate''
"type": "java.lang.String"
},
{
// Reports 'Missing required 'name''
"type": "java.lang.String"
}
]
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Spring Boot, 233.SNAPSHOT |
Last modified: 13 July 2023