Skip to content

Commit

Permalink
Excluded root EP from Swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Jul 28, 2024
1 parent c0690f6 commit 56ed4d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/server/Endpoints/RootEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public override void Configure()
{
Get("/");
AllowAnonymous();
Description(b => b.ExcludeFromDescription());
}

public override Task HandleAsync(CancellationToken ct)
Expand Down

0 comments on commit 56ed4d8

Please sign in to comment.