Added ReDoc
This commit is contained in:
parent
110adac9ee
commit
0a4baf6c16
|
@ -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();
|
app.UseSwaggerUi3();
|
||||||
|
|
||||||
|
//Use Redoc to provide a ReDoc based API explorer at "/redoc"
|
||||||
|
app.UseReDoc(options =>
|
||||||
|
{
|
||||||
|
options.Path = "/redoc";
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue