webapi用Swashbuckle.AspNetCore報Internal Server Error /swagger/v1/swagger.json錯誤,解決

解決辦法 必需要將全部的action方法頭都要加上Rote,好比[HttpPost(「TargetSourse」)],此處爲簡寫web 參考代碼async [Route("[controller]")] public class ChartDataController : Controller { /// <summary> /// 獲取各個指標的源
相關文章
相關標籤/搜索