You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pact broker will render a HTML version of the pact with an empty array, misleading users about what the pact contains. The API browser displays the correct pact contents.
The text was updated successfully, but these errors were encountered:
The same goes for specifying an array with length 0 or more. If all your provider verification data returned 0 length arrays, all your verification tests would pass without you ever having validated the contents of the array. This is why you can only specify an array with minimum length 1 OR a zero length array.
Given a pact with a response body like:
The pact broker will render a HTML version of the pact with an empty array, misleading users about what the pact contains. The API browser displays the correct pact contents.
The text was updated successfully, but these errors were encountered: