我在一个解决方案中包含了asp.net核心MVC项目和独立的WebApi项目。我在github上的文档之后添加了swagger。. var controllerAssembly = Assembly.Load(new AssemblyNameswagger.json", "Swagger XML Api Demo v1"
我在控制器容器中创建了一个默认的CRUD控制器,所有这些方法都在swagger中显示(并且运行良好)。
我在控制器中添加了一个新方法来执行CRUD中没有覆盖的任务,并且它在swagger中没有显示。return NotFound(); // yes, 10 will never be found but that's not the point of
我试图使用AzureAD在swagger中获得令牌,并使用它测试.netCore2.1 API。(使用Swashbuckle.AspNetCore 4.0.1)1.Added Swagger to the Web API project
请帮助我理解我在这里缺少的资源标识符,或者如何解决这个错误。或关于如何在ASP.NET Core webAPI