From a8b885709b102310e5f4a9e60dc2555bc2936a4f Mon Sep 17 00:00:00 2001 From: XiaoyuPeng <18256152392@163.com> Date: Tue, 15 Jul 2025 11:54:58 +0800 Subject: [PATCH] Fix typo for UnpublishPost api description (#7628) Co-authored-by: pengxiaoyu --- .../java/run/halo/app/core/endpoint/console/PostEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/main/java/run/halo/app/core/endpoint/console/PostEndpoint.java b/application/src/main/java/run/halo/app/core/endpoint/console/PostEndpoint.java index 689a0f201..800b5e417 100644 --- a/application/src/main/java/run/halo/app/core/endpoint/console/PostEndpoint.java +++ b/application/src/main/java/run/halo/app/core/endpoint/console/PostEndpoint.java @@ -213,7 +213,7 @@ public class PostEndpoint implements CustomEndpoint { ) .PUT("posts/{name}/unpublish", this::unpublishPost, builder -> builder.operationId("UnpublishPost") - .description("Publish a post.") + .description("UnPublish a post.") .tag(tag) .parameter(parameterBuilder().name("name") .in(ParameterIn.PATH)