Fix the Tags within swagger
This commit is contained in:
@@ -10,8 +10,8 @@ public class GetMessages(
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Tags("Messages");
|
||||
Get("/api/messages/{SubjectId:guid}");
|
||||
Options(o => o.WithTags("Messages"));
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ public class GetMessagesByUser(
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Tags("Messages");
|
||||
Get("/api/messages/user/{UserId:guid}");
|
||||
Options(o => o.WithTags("Messages"));
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(
|
||||
|
||||
@@ -14,9 +14,8 @@ public class PostMessage(
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
// TODO: Find how to specify the name we see in Swagger
|
||||
Tags("Messages");
|
||||
Post("/api/messages");
|
||||
Options(o => o.WithTags("Messages"));
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(
|
||||
|
||||
@@ -15,8 +15,8 @@ public sealed class PostReplyMessage(
|
||||
{
|
||||
public override void Configure()
|
||||
{
|
||||
Tags("Messages");
|
||||
Post("/api/messages/reply");
|
||||
Options(o => o.WithTags("Messages"));
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(
|
||||
|
||||
Reference in New Issue
Block a user