Repository navigation
#258 Replace deprecated Microsoft.Extensions.ApiDescription.Client with NSwag CLI tooling - #303
Draft
ChaitanyaRangu wants to merge 1 commit into
Draft
ChaitanyaRangu wants to merge 1 commit into
ChaitanyaRangu wants to merge 1 commit into
Conversation
… with NSwag CLI tooling Remove Microsoft.Extensions.ApiDescription.Client and NSwag.ApiDescription.Client from OpenApiAM10 and OpenApiISH30. Move the inline <Options> into standalone OpenApi*.nswag files and generate the clients with the pinned local tool NSwag.ConsoleCore (.config/dotnet-tools.json) via a shared MSBuild target before compilation. Generated clients are byte-identical to before.
ChaitanyaRangu
force-pushed
the
fix/issue-258
branch
from
December 2, 2026 22:46
dd527a9 to
a17cbd5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change do?
Replaces the deprecated
Microsoft.Extensions.ApiDescription.Client(and theNSwag.ApiDescription.Clientpackage that depended on it) with a pinned NSwag CLI local tool. Options from<OpenApiReference>moved toOpenApiAM10.nswag/OpenApiISH30.nswag; a sharedGenerateNSwagClient.targetsrunsdotnet tool restore+dotnet nswag runbefore compile. Dependabot ignore for the removed package dropped; release notes updated.Linked issue
Closes #258
How was it tested?
OpenApiAM10Client.cs/OpenApiISH30Client.csare byte-identical (cmp) to those produced before the change, so no cmdlet changes.Trisoft.ISHRemote.csproj -f net10.0builds. Not run: full Windows solution build (net48), Release warnings-as-errors for the whole sln, Pester (needs live server).AI assistance
Prepared with Claude Code (Claude Sonnet 5.5); changes and verification were reviewed by the submitter's tooling run, not by a live-server test.