Actions require unique method/path combination for Swagger

时间:2019-12-18 00:50:59   收藏:0   阅读:858
原文:Actions require unique method/path combination for Swagger

services.AddSwaggerGen (c =>
  {
    c.ResolveConflictingActions (apiDescriptions => apiDescriptions.First ());
  });
//in the Startup.cs class in the ConfigureServices method

原文:https://www.cnblogs.com/lonelyxmas/p/12057311.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!