Sayi / swagger-diff

:ski: Compare two swagger API specifications(1.x or v2.0)
http://deepoove.com/swagger-diff/
Apache License 2.0
276 stars 85 forks source link

Backwardcompatibility #35

Open jlamaille opened 4 years ago

jlamaille commented 4 years ago

The goal is to add the notion of non-retro compatibility of changes with a visible rendering on the html part.

I added unit tests.

I still have the readme to update I do it right now.

jlamaille commented 4 years ago

You can also see the non-backwards compatible changes

jlamaille commented 4 years ago

Okay to merge for me.

Sayi commented 4 years ago

Hi, You are awesome!

I have seen the code submitted many times and you modified 40+ files, can you describe in detail which features have been added?

jlamaille commented 4 years ago

Hi,

Thank you.

I think that's all.

On the other hand I see that the maven install is done with an open jdk 11, it's normal? because it looks like it's stuck on lombok precisely.

jlamaille commented 4 years ago

I'm thinking of adding an option on the standard output to bring up the notion of backward compatibility or not if you want to go through the command. I can make a pull request if this one is merged in the meantime.

jlamaille commented 4 years ago

finally I think the use of the json format is enough. I think a proofreading of the code would be welcome before the mege. I'm available to fix if things go wrong.

jlamaille commented 4 years ago
image

The build does not pass with the lombok 1.16.X version compatible with jdk8 It passes with the lombok 1.18.X because it builds in travis with an openJdk 11.

On the other hand the project is declared in jdk1.8 cf my capture so I don't know what to do :D