Added ReDoc

This commit is contained in:
Nicolai Ort 2020-07-07 13:14:10 +02:00
parent 110adac9ee
commit 0a4baf6c16
1 changed files with 7 additions and 1 deletions

View File

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