We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f25ebe commit faa90d2Copy full SHA for faa90d2
1 file changed
cmd/github-mcp-server/generate_docs.go
@@ -247,10 +247,9 @@ func generateToolDoc(tool mcp.Tool) string {
247
requiredStr = "required"
248
}
249
250
- // Get the type and description
251
- typeStr := "unknown"
252
- description := ""
+ var typeStr, description string
253
+ // Get the type and description
254
switch prop.Type {
255
case "array":
256
if prop.Items != nil {
0 commit comments