Mise à jour de 'Project/EntityFramework/API/Program.cs'
continuous-integration/drone/push Build is failing Details

WebAPI
Patrick BRUGIERE 1 year ago
parent 3d5febb3f7
commit 4250eb8559

@ -102,11 +102,10 @@ builder.Services.AddScoped<IVocabularyService, VocabularyService>();
builder.Services.AddScoped<IVocabularyListService, VocabularyListService>();
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseSwaggerUI(c =>
{

Loading…
Cancel
Save