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

IDP-818 - Handling running swashbuckle cli with a sdk greater than net7.0 #28

Merged
merged 10 commits into from
Jan 23, 2024

Conversation

Gcaya
Copy link
Member

@Gcaya Gcaya commented Jan 23, 2024

Description of changes

So Swashbuckle.AspNetCore.Cli targeted max framework .net7 for now. That created a problem when our task was used in a project tageting .net8 since only the .net8 runtime would be available and you would get an error.

So I modified the ProcessManager to be able to receive environment variables that will be passed to CliWrap and in the SwaggerManager we now tell the process running the swashbuckle cli to roll over to the latest major available.

I also upgraded our debuggerWebapi to target .net8, proof that the fix works.

Breaking changes

No

Additional checks

  • Updated the documentation of the project to reflect the changes
  • Added new tests that cover the code changes

@Gcaya Gcaya requested a review from a team as a code owner January 23, 2024 19:55
Gcaya and others added 3 commits January 23, 2024 17:44
Co-authored-by: Gérald Barré <meziantou@users.noreply.github.com>
Co-authored-by: Gérald Barré <meziantou@users.noreply.github.com>
@Gcaya Gcaya merged commit 21bb8ba into main Jan 23, 2024
3 checks passed
@Gcaya Gcaya deleted the feature/idp-818 branch January 23, 2024 23:48
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