From 98f717d3549809db3b4b9eec4ea4af7de8c2eade Mon Sep 17 00:00:00 2001 From: arthuridea w <2337583+arthuridea@users.noreply.github.com> Date: Mon, 25 Dec 2023 11:57:42 +0800 Subject: [PATCH] fix:update swagger doc title. --- src/LLMServiceHub/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LLMServiceHub/Startup.cs b/src/LLMServiceHub/Startup.cs index 8b7e845..21ab315 100644 --- a/src/LLMServiceHub/Startup.cs +++ b/src/LLMServiceHub/Startup.cs @@ -394,7 +394,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env, AppSetti } option.RoutePrefix = "api-docs"; - option.DocumentTitle = "百度千帆大模型 API"; + option.DocumentTitle = "Baidu Erniebot & OpenAI ChatGPT LLM API for .NET"; option.DefaultModelRendering(Swashbuckle.AspNetCore.SwaggerUI.ModelRendering.Model); option.DefaultModelExpandDepth(4);