Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit e327b9b

Browse files
committed
Aggiornata documentazione Swagger
1 parent d2bc8f0 commit e327b9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NET6CustomLibrary/Docs/Swagger/README-Swagger.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public void ConfigureServices(IServiceCollection services)
5151
5252
public void Configure(WebApplication app)
5353
{
54-
app.AddUseSwaggerUI("My Web Api v1");
54+
app.UseSwaggerUI("My Web Api v1");
55+
//OR app.UseSwaggerUINoEmptyRoutePrefix("My Web Api v1");
5556
}
5657
```

0 commit comments

Comments
 (0)