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

Fixes extensionless output#933

Merged
MaggieKimani1 merged 4 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/fix-extensionsionless-outputmicrosoft/OpenAPI.NET:mk/fix-extensionsionless-outputCopy head branch name to clipboard
Jul 7, 2022
Merged

Fixes extensionless output#933
MaggieKimani1 merged 4 commits intovnextmicrosoft/OpenAPI.NET:vnextfrom
mk/fix-extensionsionless-outputmicrosoft/OpenAPI.NET:mk/fix-extensionsionless-outputCopy head branch name to clipboard

Conversation

@MaggieKimani1
Copy link
Contributor

@MaggieKimani1 MaggieKimani1 commented Jul 7, 2022

At the moment, if a user fails to provide an output path while using hidi transform, we default to ./output.
This PR proposes:

  • Appending the Input path's extension to the resulting output path, if one is not provided i.e ./output.json.
  • Moving Hidi tests to its own test project as a cleaner approach

Fixes #877

src/Microsoft.OpenApi.Hidi/OpenApiService.cs Outdated Show resolved Hide resolved
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 transform creates an extensionless output file

3 participants

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