dev server swagger updation

This commit is contained in:
Sysadmin
2023-09-03 17:55:03 -04:00
parent e0cb2ccc7d
commit b558fdf651
8 changed files with 28 additions and 9 deletions

View File

@ -42,7 +42,7 @@ var app = builder.Build();
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/attachments/swagger/v1/swagger.json", ""); });
}
app.UseAuthorization();