Skip to content

Commit f39f33b

Browse files
committed
Fix documentation related to the health endpoint's inner details
Closes gh-22490
1 parent fdd6a89 commit f39f33b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/HealthEndpointDocumentationTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ void health() throws Exception {
8181
.description("The nested components that make up the health.").optional();
8282
FieldDescriptor componentDetails = subsectionWithPath("components.*.details")
8383
.description("Details of the health of a specific part of the application. "
84-
+ "Presence is controlled by `management.endpoint.health.show-details`. May contain nested "
85-
+ "components that make up the health.")
84+
+ "Presence is controlled by `management.endpoint.health.show-details`.")
8685
.optional();
8786
this.mockMvc.perform(get("/actuator/health").accept(MediaType.APPLICATION_JSON)).andExpect(status().isOk())
8887
.andDo(document("health",

0 commit comments

Comments
 (0)