Quantcast
Channel: Pact JVM check for a response that is either an array or null - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Matthew Fellows for Pact JVM check for a response that is either an...

See https://docs.pact.io/faq#why-is-there-no-support-for-specifying-optional-attributes. You need to write two separate test cases that cover both scenarios.

View Article



Pact JVM check for a response that is either an array or null

I am trying to create a contract between with a consumer when making a request for an item information. The item has a very complex data structure with nested properties and contains fields that ranges...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images