Fix documentation related to the health endpoint's inner details

Closes gh-22490
This commit is contained in:
Madhura Bhave 2020-08-06 17:57:56 -07:00
parent fdd6a89a61
commit f39f33bb8d
1 changed files with 1 additions and 2 deletions

View File

@ -81,8 +81,7 @@ class HealthEndpointDocumentationTests extends MockMvcEndpointDocumentationTests
.description("The nested components that make up the health.").optional();
FieldDescriptor componentDetails = subsectionWithPath("components.*.details")
.description("Details of the health of a specific part of the application. "
+ "Presence is controlled by `management.endpoint.health.show-details`. May contain nested "
+ "components that make up the health.")
+ "Presence is controlled by `management.endpoint.health.show-details`.")
.optional();
this.mockMvc.perform(get("/actuator/health").accept(MediaType.APPLICATION_JSON)).andExpect(status().isOk())
.andDo(document("health",