From d895642e48557af157b8dfaa6711795f46bce131 Mon Sep 17 00:00:00 2001 From: Ilfedotov Date: Fri, 16 Aug 2024 11:47:15 +0400 Subject: [PATCH] :c --- ElectronicsShop/ElectronicsShopRestAPI/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElectronicsShop/ElectronicsShopRestAPI/Program.cs b/ElectronicsShop/ElectronicsShopRestAPI/Program.cs index c115528..de93aad 100644 --- a/ElectronicsShop/ElectronicsShopRestAPI/Program.cs +++ b/ElectronicsShop/ElectronicsShopRestAPI/Program.cs @@ -64,7 +64,7 @@ builder.Services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new OpenApiInfo { - Title = "JurasicZooRestApi", + Title = "ElectronicsShopRestApi", Version = "v1" }); }); @@ -88,7 +88,7 @@ mailSender?.MailConfig(new MailConfigBindingModel if (app.Environment.IsDevelopment()) { app.UseSwagger(); - app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "JurasicZooRestApi v1")); + app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "ElectronicsShopRestApi v1")); } app.UseHttpsRedirection();