Added Demo Server to the endpoints
This commit is contained in:
@@ -104,6 +104,7 @@ namespace ScrumTaskboard
|
|||||||
app.UseOpenApi(a => {
|
app.UseOpenApi(a => {
|
||||||
a.PostProcess = (document, _) => {
|
a.PostProcess = (document, _) => {
|
||||||
document.Schemes = new[] { NSwag.OpenApiSchema.Https, NSwag.OpenApiSchema.Http };
|
document.Schemes = new[] { NSwag.OpenApiSchema.Https, NSwag.OpenApiSchema.Http };
|
||||||
|
document.Servers.Add(new NSwag.OpenApiServer { Description = "Demo Server", Url = "https://taskboard.dev.nig.gl/" });
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user