Added property to skip array size assertion (#295)

with this fix you can pass set the Contract Verifier property 'assertJsonSize' to true / false in order to check / not check the array size of a JSON

workaround to #293
This commit is contained in:
Marcin Grzejszczak
2016-07-06 15:38:20 +02:00
committed by GitHub
parent 647e5f028e
commit da801e52c7
20 changed files with 246 additions and 187 deletions

View File

@@ -32,6 +32,10 @@ WARNING: Spring Cloud Contract Verifier doesn't support XML properly. Please use
WARNING: Spring Cloud Contract Verifier supports equality check on text response. Regular expressions are not yet available.
WARNING: The support for the verification of size of JSON arrays is experimental. If you want to turn it on please provide
the value of a system property `spring.cloud.contract.verifier.assert.size` equal to `turn`. By default this feature is
`off`.
=== HTTP Top-Level Elements
Following methods can be called in the top-level closure of a contract definition. Request and response are mandatory, priority is optional.