How can I change the default info title produced by nswag?

asked6 years ago
last updated6 years ago
viewed7k times
Up Vote12Down Vote

I'm using NSwag for .NET Core 3.1. Everything works correctly.

I can't determine how to change "My Title" (which is the info title) to something else.

app.UseOpenApi();
app.UseSwaggerUi3(c => c.DocumentTitle = "My Api");

Any help is very much appreciated. Thanks!