-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OASDIFF giving error with API specifications with multiple callbacks #168
Comments
Any update on the above issue? |
Hi @taranjotkaur21, |
It looks like this is caused by a bug the underlying https://github.com/getkin/kin-openapi package. |
Hi @reuvenharrison sorry I missed your hl. |
Yes @fenollp - this is the fix we needed. |
Describe the bug
Getting the error "diff failed with request body reference is nil" while running the oasdiff between two API spec yaml files. It is giving this error in the scenario where specs files have more than one callback tag defined. Files getting compared are identical, then also getting this error.
To Reproduce
Steps to reproduce the behavior:
Run
oasdiff -base spec_1.yaml -revision spec_2.yaml
attached spec_1 and spec_2
Files.zip
Snippet attached of the error for the comparison of two identical files
![snippet_error](https://user-images.githubusercontent.com/122001377/210712679-a886fd3b-5d94-41dd-b93d-0bd7e0e3e789.jpg)
Expected behavior
No output is expected as both files are identical
Screenshots
NA
Desktop (please complete the following information):
Smartphone (please complete the following information):
NA
Additional context
NA
The text was updated successfully, but these errors were encountered: