diff --git a/layouts/api/list.html b/layouts/api/list.html index 24caf4d..abf642b 100644 --- a/layouts/api/list.html +++ b/layouts/api/list.html @@ -32,7 +32,13 @@ {{ end }}: {{ end }} - {{ .kind }} + {{ if (eq $.kind "enum") }} + enum ( + {{ with $.enumValues }}{{ delimit . " | " }}{{ end }} + ) + {{ else }} + {{ .kind }} + {{ end }} {{ end }} {{ with .keys }} {