diff --git a/1.0.x/spring-cloud-contract.html b/1.0.x/spring-cloud-contract.html index 9165777c53..8ad444a5d4 100644 --- a/1.0.x/spring-cloud-contract.html +++ b/1.0.x/spring-cloud-contract.html @@ -6769,6 +6769,21 @@ in the configuration. Example:

} +
+ + + + + +
+
Important
+
+You can’t use both a String and execute to perform concatenation. E.g. calling +header('Authorization', 'Bearer ' + execute('authToken()')) will lead to improper results. +To make this work just call header('Authorization', execute('authToken()')) and ensure that +the authToken() method returns everything that you need. +
+