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 ReferenceUtils to better support windows filesystem #1819

Merged
merged 2 commits into from
Oct 4, 2022

Conversation

snaggedagge
Copy link
Contributor

@snaggedagge snaggedagge commented Sep 29, 2022

Occurs on windows filesystems:

when absoluteUri is something like "C:/openapi.yml", the "scheme" part in URI object is resolved into "C". So it passes through all the statements and lands on an exception being thrown. A more resilient approach is to always default to reading from file when the scheme cannot be determined

Occurs on windows filesystems:

when absoluteUri is something like "C:/openapi.yml", the "scheme" part is resolved into "C".
So it passes through all the statements and lands on an exception being thrown. A more resilient approach is to always default to reading from file when the scheme cannot be determined
@gracekarina gracekarina merged commit 1d9b4b9 into swagger-api:master Oct 4, 2022
@gracekarina
Copy link
Contributor

Thanks!

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.

2 participants