From 21318efa8d7bb5a36be687114510064c764b159b Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 7 Aug 2019 10:45:32 +0200 Subject: [PATCH] Polish --- docs/src/main/asciidoc/_attributes.adoc | 2 +- docs/src/main/asciidoc/_project-features-contract.adoc | 2 +- docs/src/main/asciidoc/_project-features-flows.adoc | 2 +- docs/src/main/asciidoc/index.adoc | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 120000 docs/src/main/asciidoc/index.adoc diff --git a/docs/src/main/asciidoc/_attributes.adoc b/docs/src/main/asciidoc/_attributes.adoc index 868f5ebdea..99a2353223 100644 --- a/docs/src/main/asciidoc/_attributes.adoc +++ b/docs/src/main/asciidoc/_attributes.adoc @@ -16,7 +16,7 @@ // project-specific attributes :core_path: {project-root} -:plugins_path: {github-raw}/spring-cloud-contract-tools +:plugins_path: {project-root}/spring-cloud-contract-tools :converters_path: {plugins_path}/spring-cloud-contract-converters :verifier_root_path: {core_path}/spring-cloud-contract-verifier :contract_spec_path: {core_path}/specs/spring-cloud-contract-spec-java diff --git a/docs/src/main/asciidoc/_project-features-contract.adoc b/docs/src/main/asciidoc/_project-features-contract.adoc index 76ac7db7ad..45a90de82f 100644 --- a/docs/src/main/asciidoc/_project-features-contract.adoc +++ b/docs/src/main/asciidoc/_project-features-contract.adoc @@ -190,7 +190,7 @@ include::{verifier_core_path}/src/test/resources/classpath/response.json[indent= ---- ==== -When test or stub generation takes place, the contents of the `readFromFile.groovy` file is passed to the body +When test or stub generation takes place, the contents of the `request.json` and `response.json` files are passed to the body of a request or a response. The name of the file needs to be a file with location relative to the folder in which the contract lays. diff --git a/docs/src/main/asciidoc/_project-features-flows.adoc b/docs/src/main/asciidoc/_project-features-flows.adoc index 177794758a..1f146abc60 100644 --- a/docs/src/main/asciidoc/_project-features-flows.adoc +++ b/docs/src/main/asciidoc/_project-features-flows.adoc @@ -352,7 +352,7 @@ methods to create request matchers, but you cannot use both approaches. On the consumer side, you can make the `resource.json` generated earlier in this section available on the classpath (by -<>, for example). After that, you can create a stub that uses WireMock in a number of different ways, including by using `@AutoConfigureWireMock(stubs="classpath:resource.json")`, as described earlier in this document. diff --git a/docs/src/main/asciidoc/index.adoc b/docs/src/main/asciidoc/index.adoc deleted file mode 120000 index 3abe7caccd..0000000000 --- a/docs/src/main/asciidoc/index.adoc +++ /dev/null @@ -1 +0,0 @@ -spring-cloud-contract.adoc \ No newline at end of file