报错信息:Not supported by Swagger 2.0: Multiple operations with path ‘xxxx.aspx’ and method 'POST' 

解决办法出处:https://stackoverflow.com/questions/39706508/swagger-not-supported-by-swagger-2-0-multiple-operations-with-path

解决办法:

第一步:找到SwaggerConfig页面,引用:using System.Linq;

第二步:

找到大概175行的代码,是注释状态,取消注释。再执行可以解决。

c.ResolveConflictingActions(apiDescriptions => apiDescriptions.First());

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
猜你喜欢
  • 2021-08-03
  • 2021-12-28
  • 2021-12-23
  • 2021-12-05
  • 2021-10-26
  • 2021-06-26
  • 2022-12-23
相关资源
相似解决方案