We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3d1cc commit dabe221Copy full SHA for dabe221
src/Features/Posts/GetPosts.cs
@@ -8,8 +8,11 @@ public record Request(string Title, string? Content);
8
public record PostList(int Id);
9
10
public static void Map(IEndpointRouteBuilder app) => app
11
- .MapGet("/", Handle)
12
- .WithSummary("Gets all posts");
+ .MapGet("/", Handle)
+ .WithSummary("Gets all posts")
13
+ .WithDescription("Retrieves all posts optionally filtered by title and content.")
14
+ .WithName("GetPosts")
15
+ .WithTags("Post");
16
17
private static PostList Handle([AsParameters] Request request, CancellationToken cancellationToken)
18
{
0 commit comments