Swashbuckle/Swagger + ASP.Net Core: "Failed to load API definition"
Simply you can look into the log in the Output window. The actual error can be seen there in my case, I missed adding HTTP action on top of a methods
Add Httpxxx([HttpGet]
, [HttpPost]
, ...) attribute for each Action method, or [ApiExplorerSettings(IgnoreApi = true)]