-
Notifications
You must be signed in to change notification settings - Fork 14
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
apidom-reference: regression in AsyncAPI 2.x dereferencing #3974
Labels
Comments
I could successfully reproduce. |
The issue is related to refractor cache. The workaround for now is to perform dereference in const actual = await dereference(<PATH>, {
parse: { mediaType: mediaTypes.latest('json') },
dereference: { circular: '<error | replace>' },
}); |
Bug fix needs to applied to all dereferencing strategies. |
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 28, 2024
All dereference strategies has been fixed. |
char0n
added a commit
that referenced
this issue
Mar 28, 2024
char0n
added a commit
that referenced
this issue
Mar 29, 2024
char0n
added a commit
that referenced
this issue
Mar 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TODO:
Steps To Reproduce
Given the following AsyncAPI definition:
With https://test-fake-url.com/apis/test/1 linking to this file:
When calling dereference, up to now we would have gotten back the following (no $refs, everything fully inlined)
However, now we get we get the following ($ref to sentAt) which causes additional problems as the local definition for sentAt is not present
The text was updated successfully, but these errors were encountered: