Add support for default responses

Issue #30 closed
Ben Sayers created an issue

Swagger specifications can have a default response when there is no matching status code. The tool should attempt to match the pact response against the default response when one is defined. It should return a warning when doing this as it may be unexpected behaviour.

As a result of adding this feature the tool will need to ensure status codes are in the valid range before doing the comparison to the default response.

Comments (2)

  1. Log in to comment