From d9e54388e7fde2462e8b7e0165c5e7da3f202593 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 07 七月 2022 19:07:59 +0800 Subject: [PATCH] add 整合 springdoc-openapi-javadoc 基于代码注释生成文档 --- ruoyi-demo/src/main/java/com/ruoyi/demo/controller/queue/BoundedQueueController.java | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/queue/BoundedQueueController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/queue/BoundedQueueController.java index d41f87e..a940c2c 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/queue/BoundedQueueController.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/queue/BoundedQueueController.java @@ -2,7 +2,6 @@ import com.ruoyi.common.core.domain.R; import com.ruoyi.common.utils.redis.QueueUtils; -import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.RequiredArgsConstructor; @@ -30,7 +29,6 @@ public class BoundedQueueController { - @Operation(summary = "娣诲姞闃熷垪鏁版嵁") @GetMapping("/add") public R<Void> add(@Parameter(name = "闃熷垪鍚�") String queueName, @Parameter(name = "瀹归噺") int capacity) { @@ -56,7 +54,6 @@ return R.ok("鎿嶄綔鎴愬姛"); } - @Operation(summary = "鍒犻櫎闃熷垪鏁版嵁") @GetMapping("/remove") public R<Void> remove(@Parameter(name = "闃熷垪鍚�") String queueName) { String data = "data-" + 5; @@ -68,7 +65,6 @@ return R.ok("鎿嶄綔鎴愬姛"); } - @Operation(summary = "鑾峰彇闃熷垪鏁版嵁") @GetMapping("/get") public R<Void> get(@Parameter(name = "闃熷垪鍚�") String queueName) { String data; -- Gitblit v1.9.3