-
* -Dstubrunner.repositoryRoot=https://repo.spring.io/snapshots (1)
+* -Dstubrunner.repositoryRoot=https://repo.spring.io/snapshot (1)
* -Dstubrunner.cloud.stubbed.discovery.enabled=false (2)
* -Dstubrunner.ids=org.springframework.cloud.contract.verifier.stubs:loanIssuance,org.
* springframework.cloud.contract.verifier.stubs:fraudDetectionServer,org.springframework.
@@ -10520,7 +10520,7 @@ optional parameters only for the following:
}
body(
email: $(consumer(optional(regex(email()))), producer('abc@abc.com')),
- callback_url: $(consumer(regex(hostname())), producer('http://partners.com'))
+ callback_url: $(consumer(regex(hostname())), producer('https://partners.com'))
)
}
response {
@@ -10548,7 +10548,7 @@ expression that must be present 0 or more times.
given:
def request = given()
.header("Content-Type", "application/json")
- .body('''{"email":"abc@abc.com","callback_url":"http://partners.com"}''')
+ .body('''{"email":"abc@abc.com","callback_url":"https://partners.com"}''')
when:
def response = given().spec(request)
@@ -10803,7 +10803,7 @@ matches the JSON Path.
If you’re using the YAML contract definition you have to use the
-Handlebars {{{ }}} notation with custom, Spring Cloud Contract
+Handlebars {{{ }}} notation with custom, Spring Cloud Contract
functions to achieve this.