Added Demo Server to the endpoints
This commit is contained in:
parent
0a4baf6c16
commit
c8cacd434a
|
@ -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/" });
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue