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

Fix: reference with folder loading #2133

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

dldl-cmd
Copy link
Contributor

@dldl-cmd dldl-cmd commented Feb 6, 2025

A reference like ./Directory/File.json#/components/schema/abc was before read as:
refId = abc
externalResource = ./Directory

Which dropped the file name, which will be fixed by this commit

fixes #1674

A reference like ./Directory/File.json#/components/schema/abc was before read as:
refId = abc
externalResource = ./Directory

Which dropped the file name, which will be fixed by this commit
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making the changes!

… there will be always a result

Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making the changes!

@baywet
Copy link
Member

baywet commented Feb 6, 2025

@MaggieKimani1 for final review and merge here please

@MaggieKimani1 MaggieKimani1 added this to the v2 - Preview9 milestone Feb 7, 2025
auto-merge was automatically disabled February 7, 2025 08:43

Pull request was closed

@MaggieKimani1 MaggieKimani1 reopened this Feb 7, 2025
@baywet baywet merged commit fb74312 into microsoft:main Feb 7, 2025
14 of 16 checks passed
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.

Relative reference in subdirectory OpenApi document fails to load
3 participants