Skip to content

Commit 0a5a23a

Browse files
committed
fix
1 parent 97b7733 commit 0a5a23a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shenyu-examples/shenyu-examples-mcp/src/main/java/org/apache/shenyu/controller/OrderController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ public String findAll() {
115115
* @return the order dto
116116
*/
117117
@GetMapping("/findByName")
118-
@ShenyuMcpTool()
118+
@ShenyuMcpTool
119119
@ApiDoc(desc = "findName")
120-
public OrderDTO findByName(@ShenyuMcpToolParam() final String name) {
120+
public OrderDTO findByName(@ShenyuMcpToolParam final String name) {
121121
OrderDTO dto = new OrderDTO();
122122
dto.setName(name);
123123
return dto;

0 commit comments

Comments
 (0)