Skip to content

Commit 11706aa

Browse files
authored
Fix: updated API endpoint to correct path: /servers (#63)
1 parent 9f8f5be commit 11706aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/servers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ func RegisterServerRoutes(routerAPI huma.API, accessor contracts.MCPClientAccess
3636
serversAPI := huma.NewGroup(routerAPI, apiPathPrefix)
3737
tags := []string{"Servers"}
3838

39+
// Add route at the root of the group (no path specified).
3940
huma.Register(
4041
serversAPI,
4142
huma.Operation{
4243
OperationID: "listServers",
4344
Method: http.MethodGet,
44-
Path: "/",
4545
Summary: "List all servers",
4646
Tags: tags,
4747
},

0 commit comments

Comments
 (0)