Skip to content

Commit 083a0a6

Browse files
committed
Polish "Add since to deprecations in config metadata JSON files"
This restores properties that were accidentally removed in the changes for gh-48122.
1 parent a4ff1e5 commit 083a0a6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

module/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,21 @@
4444
}
4545
},
4646
{
47-
"name": "management.endpoints.jackson.isolated-object-mapper",
47+
"name": "management.endpoints.jackson.isolated-json-mapper",
4848
"type": "java.lang.Boolean",
49-
"description": "Whether to use an isolated object mapper to serialize endpoint JSON.",
49+
"description": "Whether to use an isolated JsonMapper to serialize endpoint JSON.",
5050
"defaultValue": true
5151
},
52+
{
53+
"name": "management.endpoints.jackson2.isolated-object-mapper",
54+
"type": "java.lang.Boolean",
55+
"description": "Whether to use an isolated object mapper to serialize endpoint JSON.",
56+
"defaultValue": true,
57+
"deprecation": {
58+
"reason": "Jackson 3 is preferred.",
59+
"since": "4.0.0"
60+
}
61+
},
5262
{
5363
"name": "management.endpoints.jmx.domain",
5464
"defaultValue": "org.springframework.boot"

0 commit comments

Comments
 (0)