summaryrefslogtreecommitdiff
path: root/docs/varlink
diff options
context:
space:
mode:
Diffstat (limited to 'docs/varlink')
-rw-r--r--docs/varlink/apidoc.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/varlink/apidoc.go b/docs/varlink/apidoc.go
index 7f1d60bc8..884ce54fe 100644
--- a/docs/varlink/apidoc.go
+++ b/docs/varlink/apidoc.go
@@ -44,6 +44,8 @@ func typeToString(input *idl.Type) string {
return "map[string]"
case idl.TypeInt:
return "int"
+ case idl.TypeMaybe:
+ return fmt.Sprintf("?%s", typeToString(input.ElementType))
}
return ""
}