Merge branch '2.3.x'

Closes gh-22775
pull/22777/head
Madhura Bhave 4 years ago
commit 6d82e9e97f

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

Loading…
Cancel
Save