You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Comparing two specs with a parameter moved from endpoint level to path level produces wrong errors.
See also #376 (comment)
To Reproduce
Steps to reproduce the behavior:
Run oasdiff changelog base.yaml revision.yaml
With specs below
Receive:
2 changes: 1 error, 1 warning, 0 info
error [new-required-request-default-parameter-to-existing-path] at data/request_params/required-request-params.yaml
in API GET /api/test5
added the new required 'query' request parameter 'emptyPath2' to all path's operations
warning [request-parameter-removed] at data/request_params/required-request-params.yaml
in API GET /api/test5
deleted the 'query' request parameter 'emptyPath2'
Describe the bug
Comparing two specs with a parameter moved from endpoint level to path level produces wrong errors.
See also #376 (comment)
To Reproduce
Steps to reproduce the behavior:
oasdiff changelog base.yaml revision.yaml
Expected behavior
No errors
Base spec:
Revised spec:
The text was updated successfully, but these errors were encountered: