Polishing

Closes gh-4503
This commit is contained in:
Johnny Lim
2015-11-16 13:56:14 +09:00
committed by Stephane Nicoll
parent d4a7c09b4e
commit da16d6d306
15 changed files with 28 additions and 28 deletions

View File

@@ -17,4 +17,4 @@ Example HTTP response:
include::{generated}/health/http-response.adoc[]
Example HTTP response with `endpoints.health.sensitive=false`:
include::{generated}/health/unsensitive/http-response.adoc[]
include::{generated}/health/insensitive/http-response.adoc[]

View File

@@ -37,7 +37,7 @@ include::{generated}/logfile/http-response.adoc[]
=== /docs
This endpoint (if available) contains HTML documemtation for the other endpoints. Its path
This endpoint (if available) contains HTML documentation for the other endpoints. Its path
can be "/docs" (if there is an existing home page) or "/" (otherwise, including if the
HAL browser is not active).

View File

@@ -64,7 +64,7 @@ public class HealthEndpointDocumentation {
@Test
public void health() throws Exception {
this.mockMvc.perform(get("/health").accept(MediaType.APPLICATION_JSON))
.andExpect(status().isOk()).andDo(document("health/unsensitive"));
.andExpect(status().isOk()).andDo(document("health/insensitive"));
}
}