From 28245e1300d3bd496f5061e6aebe081bf5cfeb98 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Wed, 31 May 2017 14:30:05 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- spring-cloud-contract.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html index 3c7c8b6e64..208453a0c9 100644 --- a/spring-cloud-contract.html +++ b/spring-cloud-contract.html @@ -6797,9 +6797,9 @@ or just set the ignored property on the contract itself:

// `name` and `content`. You can also call `named("fileName", "fileContent")` file: named( // name of the file - name: $(c(regex('.+')), p('filename.csv')), + name: $(c(regex(nonEmpty())), p('filename.csv')), // content of the file - content: $(c(regex('.+')), p('file content'))) + content: $(c(regex(nonEmpty())), p('file content'))) ) } response {