Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Handle $ref #3

Open
xuorig opened this issue Jul 7, 2021 · 0 comments
Open

Handle $ref #3

xuorig opened this issue Jul 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@xuorig
Copy link
Owner

xuorig commented Jul 7, 2021

Had something started here but decided to pause for the moment until the diff is complete.

It would be real nice to handle JSON references correctly when diffing instead of asking for a dereferenced document like many other OpenAPI tools do.

It does bring certain questions though. Should we diff refs transparently dereferencing as we go? Or we could diff the document itself (meaning a change to a component does not make a difference to a response that links to it, only shows the diff on the component object). In reality I see usefulness in both approaches, maybe that's a "mode" that can be set when running the diff.

@xuorig xuorig added the enhancement New feature or request label Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant