報錯信息:Not supported by Swagger 2.0: Multiple operations with path ‘xxxx.aspx’ and method 'POST' api
解決辦法出處:https://stackoverflow.com/questions/39706508/swagger-not-supported-by-swagger-2-0-multiple-operations-with-pathip
解決辦法:it
第一步:找到SwaggerConfig頁面,引用:using System.Linq;io
第二步:swagger
找到大概175行的代碼,是註釋狀態,取消註釋。再執行能夠解決。引用
c.ResolveConflictingActions(apiDescriptions => apiDescriptions.First());stackoverflow