Closed haverjes closed 7 months ago
ran into the same issue, using the correct executable
<Exec ... Command="$(NSwagExe_Net80) ..."/>
fixed it
Thank you. I could have sworn I tried that and got a different error. But doing it this morning worked like a charm.
I have a minimal api .net8 app and I need an automated way to generate an OpenApi file at build time (one without the Servers property). I thought aspnetcore2openapi would be the ideal tool because Studio generates it from the project with no problem. But when I run the console command I get the following error: