username@email.com
2023-09-06 f7ff76aeadd7d92da92ee65ed658b636fa4e8036
DocumentFile.Service/Program.cs
@@ -37,13 +37,16 @@
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
app.UseSwagger();
app.UseSwaggerUI(c =>
{
    app.UseSwagger();
    app.UseSwaggerUI();
}
    c.SwaggerEndpoint("/swagger/v1/swagger.json", "V1 Docs");
    c.RoutePrefix = string.Empty;
    c.DocExpansion(Swashbuckle.AspNetCore.SwaggerUI.DocExpansion.None);
    c.DefaultModelsExpandDepth(-1);
});
app.UseHttpsRedirection();
//app.UseHttpsRedirection();
app.UseAuthorization();