change swagger

This commit is contained in:
Vitalick Kovalenko 2023-12-23 01:49:53 +03:00
parent a599fc1650
commit 0eeebb753a

View File

@ -81,11 +81,8 @@ app.UseStaticFiles(new StaticFileOptions
}); });
// Configure the HTTP request pipeline. // Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment()) app.UseSwagger();
{ app.UseSwaggerUI();
app.UseSwagger();
app.UseSwaggerUI();
}