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

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