diff --git a/AdminHubApi/Program.cs b/AdminHubApi/Program.cs index ece89e8..61554a2 100644 --- a/AdminHubApi/Program.cs +++ b/AdminHubApi/Program.cs @@ -94,10 +94,11 @@ var app = builder.Build(); +app.UseSwagger(); + // Configure the HTTP request pipeline. if (app.Environment.IsDevelopment()) { - app.UseSwagger(); app.UseSwaggerUI(); }