diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index c960327434..5e5bb22e3e 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -3969,9 +3969,24 @@ class StubRunnerConfigurationSpec extends Specification {
stubrunner:
-  idsToServiceIds:
-    ivyNotation: someValueInsideYourCode
-    fraudDetectionServer: someNameThatShouldMapFraudDetectionServer
+ repositoryRoot: classpath:m2repo/repository/ + ids: + - org.springframework.cloud.contract.verifier.stubs:loanIssuance + - org.springframework.cloud.contract.verifier.stubs:fraudDetectionServer + - org.springframework.cloud.contract.verifier.stubs:bootService +
+
+
+

Instead of using the properties you can also use the properties inside the @AutoConfigureStubRunner. +Below you can find an example of achieving the same result by setting values on the annotation.

+
+
+
+
@AutoConfigureStubRunner(
+		ids = ["org.springframework.cloud.contract.verifier.stubs:loanIssuance",
+		"org.springframework.cloud.contract.verifier.stubs:fraudDetectionServer",
+		"org.springframework.cloud.contract.verifier.stubs:bootService"],
+		repositoryRoot = "classpath:m2repo/repository/")
@@ -5336,7 +5351,7 @@ number of different ways, including as described above using