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
posted @ 2019-07-05 10:33  lappple  阅读(2221)  评论(0编辑  收藏  举报