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 issue comes from the constraint that the consumer and the provider should use pact specification version 2. This results in a pact verification warning about the number attribute:
I am trying to create a contract for a response which contains a number value attribute. Something like the following:
The used matchers for this part of the response are the following:
And the result in the pact itself:
The issue comes from the constraint that the consumer and the provider should use pact specification version 2. This results in a pact verification warning about the number attribute:
What is the best approach for number type matchers when using pact specification version 2? Is there any way the resulting matcher to be:
The same as the one which comes as a result when stringType() is used.
The text was updated successfully, but these errors were encountered: