Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Fix hidi validator error when loading unix paths#1146

Merged
MaggieKimani1 merged 2 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/fix-validate-source-file-loading-errormicrosoft/OpenAPI.NET:mk/fix-validate-source-file-loading-errorCopy head branch name to clipboard
Jan 31, 2023
Merged

Fix hidi validator error when loading unix paths#1146
MaggieKimani1 merged 2 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/fix-validate-source-file-loading-errormicrosoft/OpenAPI.NET:mk/fix-validate-source-file-loading-errorCopy head branch name to clipboard

Conversation

@MaggieKimani1
Copy link
Contributor

Uses Path.DirectorySeparatorChar, a platform-specific directory separator character to construct the absolute uri path to an Open API document for parsing during validation and transformation.
Should fix #1142
Reference: https://learn.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar?view=net-7.0

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell E 6 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@MaggieKimani1 MaggieKimani1 merged commit 1511490 into vnext Jan 31, 2023
@MaggieKimani1 MaggieKimani1 deleted the mk/fix-validate-source-file-loading-error branch January 31, 2023 15:53
@MaggieKimani1 MaggieKimani1 self-assigned this Feb 1, 2023
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.

hidi validate can't load unix path but transform can?

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.