diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html
index c5cd51af0b..656599e39a 100644
--- a/spring-cloud-contract.html
+++ b/spring-cloud-contract.html
@@ -8143,7 +8143,9 @@ public class ConsumerUtils {
* @author Marcin Grzejszczak
*/
public static ClientDslProperty oldEnough() {
+ //remove::start[]
return new ClientDslProperty(PatternUtils.oldEnough());
+ //remove::end[]
}
/**
@@ -8164,7 +8166,9 @@ public class ConsumerUtils {
* producer side value will be equal to {@code marcin}
*/
public static DslProperty anyName() {
+ //remove::start[]
return new DslProperty<>(PatternUtils.anyName(), "marcin");
+ //remove::end[]
}
}
@@ -8298,17 +8302,20 @@ import static com.example.ConsumerUtils.oldEnough
import static com.example.ProducerUtils.ok
Contract.make {
- request {
- description("""
+ description("""
Represents a successful scenario of getting a beer
+```
given:
client is old enough
when:
he applies for a beer
then:
we'll grant him the beer
+```
+
""")
+ request {
method 'POST'
url '/check'
body(