:c
This commit is contained in:
parent
ae307673fb
commit
d895642e48
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user