From 7677527aee232ca9b1354fd91196c6f862534a50 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 23 Feb 2017 10:25:41 +0000 Subject: [PATCH] Sync docs from 1.0.x to gh-pages --- 1.0.x/spring-cloud-contract.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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. +
+