oneOf validation is broken for swagger-request-validator-pact

Issue #283 new
Jacob Wang created an issue

Simple repro project: github.com/jatcwang/swagger-openapi-oneOf-issue-repro

The repro project provides has oneOf with a single case. (This breaks when there are more than one case as well)

Note that the test passes if you remove the oneOf in openapi.yaml

Comments (2)

  1. James Navin

    Hi Jacob,

    That link is giving me a 404. It would be helpful if you could add an example spec and request to the issue to help diagnosis.

    Cheers,

    James

  2. Log in to comment