Failing to read oneOf, anyOf as in OAS-3.0.0

Issue #33 new
Former user created an issue

Some of the specs, i am working with has keywords as oneOf, allOf and anyOf, openapi-diff goes fine with allOf but doesn't work with anyOf, oneOf. Is it gonna be added in future?

This is the error I am getting when testing with oneOf, anyOf:

stack: 'SyntaxError: Swagger schema validation failed. \n' + " Data does not match any schemas from 'oneOf' at #/paths//iam/v1/pets/{petId}/get/parameters/0\n" + " Data does not match any schemas from 'oneOf' at #/paths//iam/v1/pets/{petId}/get/parameters/0\n" +

Comments (1)

  1. vipin.gupta
      I am trying to generate openapi-diff for attached OAS but I am getting error as i have put above. Is this the problem with my spec or with the tool itself.  
    

  2. Log in to comment