NSwag.MSBuild NetCore 3.0

Created on 16 Sep 2019  路  9Comments  路  Source: RicoSuter/NSwag

Please advise if NSwag.MSBuild is supports .NET Core 3.0 if so we have issues when using .NET Core 3.0 and NSwag.MSBuild in that the NSwag build task is throwing a System.IO.FileNotFoundException when running and referencing a build folder that is incorrect.

Most helpful comment

I hope to find time to look into this this week...

All 9 comments

NSwag.MSBuild does not yet support .NET Core 3.0

@ricosuter What is the ETA?

I have looked into the .NET project NSwag service generator support:

  <ItemGroup>
    <OpenApiReference Include="OpenAPIs\swagger.json" Namespace="BlazorApp1">
      <CodeGenerator>NSwagCSharp</CodeGenerator>
      <SourceUri>http://localhost:58687/swagger/v1/swagger.json</SourceUri>
    </OpenApiReference>
  </ItemGroup>

Any documentation of what the options are?

My client gets the name swaggerClient, and not the name of the controller, why?

Hi Rico,
Any chance you have time to address this? With the release of 3.0 today (https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0/), it would be nice to be able to upgrade asap.

I hope to find time to look into this this week...

Also supports NRT:

image

Was this page helpful?
0 / 5 - 0 ratings