Open branko-d opened 5 months ago
Did you manage to fix it?
The webApiToOpenApi
was removed in version 14. You need to use the aspNetCoreToOpenApi
command when you want to use it. I'm still struggling with the migration, since there is no migration guide. Good luck!
The
webApiToOpenApi
was removed in version 14. You need to use theaspNetCoreToOpenApi
command when you want to use it. I'm still struggling with the migration, since there is no migration guide. Good luck!
When I am using aspNetCoreToOpenApi to replace webApiToOpenApi, my PC will be hanging.
We have an ASP.NET Core project (.NET 7) which has controllers/actions exposing a Web API. We have been using NSwag.MSBuild to generate the corresponding TypeScript wrappers during build.
However, after upgrading NSwag.MSBuild package from 13.20.0 to 14.0.2, we started getting the following error every time we try to build:
In case it's relevant, here is the NSwag-related portion of our .csproj file:
And here is our Properties/NSwag/api.nswag: