我使用ASP.NET核心创建了Web,并使用swagger创建文档。我使用API端点上的XML注释来提供文档中的其他信息。", Version = "v1" });
// Set the comments path for the Swagger JSON and UI.端点所期望的参数的包装器。端点的swagger文档将VisitorSearchCriteria的所有属性显示为参数</
Created a WebAPI project(asp.net Core2.1)3.Updated the WebAPI project to use Azure AD authentication
4.Register an AAD app for the Swaggerweb site https:
我正在使用ASP.net核心WebAPI,并使用Swagger编写API文档。“傲慢”成功地生成了丰富多彩的文档。但是当我尝试执行一个api方法时。总是从斯威格那里得到低沉的错误。{“错误”:“服务器没有响应”}
[Route("api/[controller]")]public sealed class