🔨 ajout swagger

TestDatabase
Noan07 2 years ago
parent 79522dea88
commit 069170c9c8

@ -26,11 +26,11 @@ builder.Logging.AddConsole();
var app = builder.Build(); var app = builder.Build();
// Configure the HTTP request pipeline. // Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment()) //if (app.Environment.IsDevelopment())
{ //{
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();
} //}
app.UseHttpsRedirection(); app.UseHttpsRedirection();

Loading…
Cancel
Save