Ajout swagger hors developpement
continuous-integration/drone/push Build is passing Details

deploiement
Clement CHIEU 1 year ago
parent 44c858e749
commit 6074be56d2

@ -115,12 +115,9 @@ using (var scope = app.Services.CreateScope())
} }
} }
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();
}
app.UseHttpsRedirection(); app.UseHttpsRedirection();

Loading…
Cancel
Save