Added ReDoc
This commit is contained in:
1 parent
110adac9ee
commit
0a4baf6c16
1 file changed
+7
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user