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

NSwag.MSBuild NetCore 3.0 #2407

Closed
grahamehorner opened this issue Sep 16, 2019 · 9 comments · Fixed by #2041
Closed

NSwag.MSBuild NetCore 3.0 #2407

grahamehorner opened this issue Sep 16, 2019 · 9 comments · Fixed by #2041

Comments

@grahamehorner
Copy link

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.

@RicoSuter
Copy link
Owner

NSwag.MSBuild does not yet support .NET Core 3.0

@marinasundstrom
Copy link

@RicoSuter What is the ETA?

@marinasundstrom
Copy link

marinasundstrom commented Sep 23, 2019

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?

@RicoSuter
Copy link
Owner

@mhartvig
Copy link

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.

@RicoSuter
Copy link
Owner

Duplicate of #1961

@RicoSuter RicoSuter marked this as a duplicate of #1961 Sep 23, 2019
@RicoSuter
Copy link
Owner

RicoSuter commented Sep 23, 2019

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

@RicoSuter
Copy link
Owner

#2427

@RicoSuter
Copy link
Owner

Also supports NRT:

image

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 a pull request may close this issue.

4 participants