From 475fa2a40b6936f9cb5c3ba77bdce7a6a854360b Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 21 Nov 2016 13:56:14 +0000 Subject: [PATCH] Fix escaping of __ --- docs/src/main/asciidoc/spring-cloud-wiremock.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-wiremock.adoc b/docs/src/main/asciidoc/spring-cloud-wiremock.adoc index f3104be932..ef5375200a 100644 --- a/docs/src/main/asciidoc/spring-cloud-wiremock.adoc +++ b/docs/src/main/asciidoc/spring-cloud-wiremock.adoc @@ -59,10 +59,10 @@ files root as described next. WireMock can read response bodies from files on the classpath or file system. In that case you will see in the JSON DSL that the response has a "bodyFileName" instead of a (literal) "body". The files are -resolved relative to a root directory `src/test/resources/__files` by +resolved relative to a root directory `src/test/resources/\__files` by default. To customize this location you can set the `files` attribute in the `@AutoConfigureWireMock` annotation to the location of the -parent directory (i.e. the place where `__files` is a +parent directory (i.e. the place `__files` is a subdirectory). You can use Spring resource notation to refer to `file:...` or `classpath:...` locations (but generic URLs are not supported). A list of values can be given and WireMock will resolve