OpenAPI.NET icon indicating copy to clipboard operation
OpenAPI.NET copied to clipboard

OpenApiComparer is not implemented

Open adrientoub opened this issue 5 years ago • 9 comments

Hello,

My team is using this repository to generate our OpenAPI document, and we started using the OpenApiComparer recently in our project. This method returns a value so we believed it was working until recently when after making a change this still returned an empty list.

After looking at the implementation it's quite clear that this method does nothing but it is documented as being a method that "Compares two OpenApiDocuments and returns a list of differences.".

I believe this method should be removed or should throw instead.

After looking a bit more, there seems to be a valid implementation of this in the vnext branch that was never merged into master.

adrientoub avatar Jul 26 '19 12:07 adrientoub

Huh! I had no idea. I don't whether it is in finished enough to consider merging in. If it is I can create a PR based on it.

darrelmiller avatar Aug 23 '19 03:08 darrelmiller

Any new information? Looks lite this code is productoin ready and was added 2 year ago, but still not in master

Backs avatar Sep 25 '19 08:09 Backs

This code has been merged into the vnext branch. I would like to include it in the v1.2 release but there are still some failing tests. I have marked them as skip for the moment, but they need to be fixed before we can release.

darrelmiller avatar Jan 04 '20 19:01 darrelmiller

Hi, do you have ETA for complete feature or at least new update? Latest prerelease available on nuget throws StackOverflowException for my swagger doc.

FLAMESpl avatar May 01 '20 17:05 FLAMESpl

My current thinking is to move comparer capability out to a separate package. There are several contributed solutions and I don't feel like picking a winner.

darrelmiller avatar Mar 14 '21 23:03 darrelmiller

What is the status of this task? Is it shelved or is it in backlog for considerable future?

FLAMESpl avatar Mar 16 '21 13:03 FLAMESpl

Did you end up moving the comparer capability into another repo? It doesn't appear to be here anymore so was wondering if it can be found somewhere else. Thanks.

nikjw-lmk avatar Jul 29 '21 12:07 nikjw-lmk

Hey @nikjw-lmk . I moved the code into a feature branch https://github.com/microsoft/OpenAPI.NET/tree/feature/comparer/src/Microsoft.OpenApi/Services I haven't moved it out into a separate module. I have been focused on trying to get the OpenAPIWorkspace into a releasable state.

darrelmiller avatar Jul 29 '21 14:07 darrelmiller

Any progress?

Chrille79 avatar Jan 03 '23 08:01 Chrille79