Open mouradchama opened 3 months ago
Hi @mouradchama, I couldn't replicate this problem using the command and files you provided. Could you please check that the instructions are precise?
Also, you mention a "plugin", I am not sure what you mean by that.
Thanks, Reuven
Update: I successfully replicated the issue (it didn't work yesterday due to another problem that I fixed meanwhile). I'll update shortly with more info.
The triple messages are actually correct, each one belongs to a different media type. The fix will change all request property messages to include the media-type, for example:
Update: Oasdiff currently omits media-type for changes in requests and responses. Fixing this will require adding the media type to all breaking change messages under requests and responses. Ideally, we should also avoid displaying the media-type when there is only one media-type, this will keep messages short and readable for the majority of specs. We will fix this in several steps:
Describe the bug I'm testing the pluging the implement the api changelog and reporting the breraking change for our Apis. The pluging seems working file except the noises that it generates, each info is reported mulitiple times.
To Reproduce Steps to reproduce the behavior:
The command-line, for example:
oasdiff changelog oas_original.json oas_non_breaking_changes.json
Spec 1: oas_original.json
Spec 2: oas_non_breaking_changes.json
Output
Expected behavior The infos/result should be merged and reported only once
Desktop (please complete the following information):