From c6bf08a7c0ff199ae37fde9d5e5dc4292d32b3fb Mon Sep 17 00:00:00 2001 From: Dyson Parkes Date: Wed, 17 Aug 2022 16:12:14 +1200 Subject: [PATCH] Add ResolveConflictingActions to Swagger setup --- src/Ombi/Extensions/StartupExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Ombi/Extensions/StartupExtensions.cs b/src/Ombi/Extensions/StartupExtensions.cs index e3253045a4..c335dfaf15 100644 --- a/src/Ombi/Extensions/StartupExtensions.cs +++ b/src/Ombi/Extensions/StartupExtensions.cs @@ -32,6 +32,7 @@ public static void AddSwagger(this IServiceCollection services) Url = new Uri("https://www.ombi.io/") } }); + c.ResolveConflictingActions(apiDescriptions => apiDescriptions.First()); c.AddSecurityDefinition("ApiKey", new OpenApiSecurityScheme {