Specified URL for the SwaggerUI

This commit is contained in:
Nicolai Ort 2020-07-09 18:23:41 +02:00
parent 23632d10f8
commit 94101093c9
1 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,10 @@ namespace ScrumTaskboard
});
//Use the SwaggerUi v3 to provide a SwaggerUI based API explorer at "/swagger"
app.UseSwaggerUi3();
app.UseSwaggerUi3(options =>
{
options.Path = "/swagger";
});
//Use Redoc to provide a ReDoc based API explorer at "/redoc"
app.UseReDoc(options =>