Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ResolveConflictingActions to Swagger setup
Browse files Browse the repository at this point in the history
Berserkir-Wolf committed Aug 17, 2022
1 parent d0e4492 commit c6bf08a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Ombi/Extensions/StartupExtensions.cs
Original file line number Diff line number Diff line change
@@ -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
{

0 comments on commit c6bf08a

Please sign in to comment.