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

Update ExternalRefProcessor.java #2015

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

Emad89
Copy link

@Emad89 Emad89 commented Nov 13, 2023

Objects are duplicated in the following situation:

If object A is referenced as a response in API_endpoint1, And object B is a response for API_endpoint2, where B has a property that references A.
When resolving paths:

  • A path resolved from API_endpoint1 looks like this: ./../A.

  • A path resolved from B looks like this: ../A.

In this scenario, the presence of both ./ and ../ can lead to the creation of duplicated objects.

Fix Duplicated objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants