From 677d9761f9aad29b95792f005096b5157f0c8fe5 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 27 Dec 2025 16:08:00 +0800 Subject: [PATCH] :bug: Fix sphere swagger docs --- DysonNetwork.Sphere/Chat/ChatController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DysonNetwork.Sphere/Chat/ChatController.cs b/DysonNetwork.Sphere/Chat/ChatController.cs index e38dd00..aad7ef9 100644 --- a/DysonNetwork.Sphere/Chat/ChatController.cs +++ b/DysonNetwork.Sphere/Chat/ChatController.cs @@ -13,6 +13,7 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using NodaTime; +using Swashbuckle.AspNetCore.Annotations; namespace DysonNetwork.Sphere.Chat; @@ -564,6 +565,7 @@ public partial class ChatController( } + [SwaggerIgnore] public async Task>> ChatAutoComplete( [FromBody] AutocompletionRequest request, Guid roomId) {