Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenApiComparer is not implemented #414

Open
adrientoub opened this issue Jul 26, 2019 · 9 comments
Open

OpenApiComparer is not implemented #414

adrientoub opened this issue Jul 26, 2019 · 9 comments
Labels
type:enhancement Enhancement request targeting an existing experience
Milestone

Comments

@adrientoub
Copy link
Member

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.

@darrelmiller
Copy link
Member

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 darrelmiller added the type:enhancement Enhancement request targeting an existing experience label Aug 23, 2019
@Backs
Copy link

Backs commented Sep 25, 2019

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

@darrelmiller
Copy link
Member

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 darrelmiller added this to the 1.2.0 milestone Jan 4, 2020
@darrelmiller darrelmiller modified the milestones: 1.2.0, 1.3 Apr 2, 2020
@darrelmiller darrelmiller modified the milestones: 1.3, Backlog Apr 26, 2020
@FLAMESpl
Copy link

FLAMESpl commented May 1, 2020

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

@darrelmiller darrelmiller modified the milestones: Backlog, 1.3 May 25, 2020
@darrelmiller
Copy link
Member

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 darrelmiller modified the milestones: 1.3, 1.4 Mar 14, 2021
@FLAMESpl
Copy link

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

@nikjw-lmk
Copy link

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.

@darrelmiller
Copy link
Member

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 darrelmiller modified the milestones: 1.4, 2.0 Feb 10, 2022
@Chrille79
Copy link

Any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Enhancement request targeting an existing experience
Projects
None yet
Development

No branches or pull requests

6 participants