ProcessNSwagClient 1.0.7

dotnet tool install --global ProcessNSwagClient --version 1.0.7
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local ProcessNSwagClient --version 1.0.7
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ProcessNSwagClient&version=1.0.7
nuke :add-package ProcessNSwagClient --version 1.0.7

ProcessNSwagClient

This tool is for processing C# clients generated with NSWag to re-introduce generic types.

It turns FooOfBar into Foo<Bar>. It also turns FooOfBarAndBaz into Foo<Bar, Baz>. It will get confused with things that should turn into Foo<Bar<Baz>, Qux<Quux, Corge>>, which would be FooOfBarOfBazAndQuxOfQuuxAndCorge which would likely get turned into Foo<Bar<Baz, Qux<Quux, Corge>>>. In this case you can use an --overrides file to override:

{
  "FooOfBarOfBazAndQuxOfQuuxAndCorge": "Foo<Bar<Baz>, Qux<Quux, Corge>>"
}

If you are generating the client as part of your project file, you can add this tool with something like:

<Target Name="ProcessNSwagClient" AfterTargets="NSwag" Condition="'$(Configuration)' == 'Debug'">
    <Exec IgnoreExitCode="true" Command="dotnet tool update --g --no-cache --ignore-failed-sources ProcessNSwagClient" />
    <Exec Command="ProcessNSwagClient $(SolutionDir)src\SDK\Net\v1\Client.Generated.cs" />
</Target>
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.7 548 3/7/2022
1.0.6 389 3/7/2022
1.0.5 410 3/7/2022
1.0.4 379 3/7/2022
1.0.3 429 3/7/2022
1.0.2 388 3/6/2022
1.0.1 402 3/6/2022
1.0.0 434 3/6/2022