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 OpenAPI generation issue after .NET 9 upgrade #632

Conversation

tjementum
Copy link
Member

@tjementum tjementum commented Nov 25, 2024

Summary & Motivation

Resolve the issue with OpenAPI generation failing in .NET 9 due to the <OpenApiDocumentsDirectory> using forward slashes instead of backslashes. The configuration now uses backslashes to ensure compatibility with the new .NET 9 requirements.

Fix the issue with OpenAPI generation failing in .NET 9 with the error Missing required option '--project'. This was caused by <OpenApiDocumentsDirectory> using forward slashes instead of backslashes.

Downstream Projects

Update all paths in .csproj files to use backslash for compatibility with Windows.

Checklist

  • I have added a Label to the pull-request
  • I have added tests, and done manual regression tests
  • I have updated the documentation, if necessary

@tjementum tjementum added the Bug Something isn't working label Nov 25, 2024
@tjementum tjementum self-assigned this Nov 25, 2024
Copy link

linear bot commented Nov 25, 2024

Copy link

sonarcloud bot commented Nov 25, 2024

@tjementum tjementum merged commit 22d10a2 into main Nov 25, 2024
10 checks passed
@tjementum tjementum deleted the pp-261-openapi-generation-fails-on-windows-after-upgrade-to-net-9 branch November 25, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants