openapi-diff icon indicating copy to clipboard operation
openapi-diff copied to clipboard

Add details in output (html/markdown/console) for changes in schema

Open quen2404 opened this issue 7 years ago • 6 comments

More details should be available for schema changes.

  • Property path
  • Changes detail

quen2404 avatar Jan 12 '18 17:01 quen2404

I had a look at the code. As far as can tell, the information is already present in the ChangedXxxx objects (com.qdesrame.openapi.diff.model package) instanciated by the compare engine. I could browse one ChangedOpenApi instance to see exactly what changed at property level.

I guess this issue is about having a nicer description in the report.

jmini avatar Feb 12 '18 10:02 jmini

Yes exactly ! The information is present in ChangedXxxx but not in result currently ! I have to develop the implementation in the XxxxRenderer classes.

quen2404 avatar Feb 12 '18 12:02 quen2404

Is this still useful? I'm interested in working on a PR.

thiagoarrais avatar Oct 07 '19 17:10 thiagoarrais

Looking forward to this feature. Thanks @thiagoarrais

cminini avatar Oct 23 '19 13:10 cminini

@cminini: have you taken a look at my PR? I'd really love some feedback.

thiagoarrais avatar Oct 23 '19 14:10 thiagoarrais

This would be greatly appreciated!

michalchmura avatar Dec 10 '19 13:12 michalchmura