NSwag start the .NET 8 API Project in Command=”$(NSwagExe_Net80) run NSwag.json /variables:Configuration=$(Configuration)”
In the Dotnet API project, recently we are upgradign .NET version from 6 to 8.
In the new version of the application, in the nswag.json file
"documentGenerator"
engine is changed from "webApiToOpenApi"
to "aspNetCoreToOpenApi"
.
Here is my nswag.json file: