Added Demo Server to the endpoints

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

View File

@ -104,6 +104,7 @@ namespace ScrumTaskboard
app.UseOpenApi(a => {
a.PostProcess = (document, _) => {
document.Schemes = new[] { NSwag.OpenApiSchema.Https, NSwag.OpenApiSchema.Http };
document.Servers.Add(new NSwag.OpenApiServer { Description = "Demo Server", Url = "https://taskboard.dev.nig.gl/" });
};
});