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

@ -34,8 +34,7 @@ if (app.Environment.IsDevelopment())
app.UseSwagger();
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "");
// options.RoutePrefix = ""; // Serve Swagger UI at the root URL
options.SwaggerEndpoint("/locations/swagger/v1/swagger.json", "");
});
}