summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage/docs/templates/default.md.haml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/usage/docs/templates/default.md.haml')
-rw-r--r--lib/gitlab/usage/docs/templates/default.md.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/usage/docs/templates/default.md.haml b/lib/gitlab/usage/docs/templates/default.md.haml
index 19ad668019e..26f1aa4396d 100644
--- a/lib/gitlab/usage/docs/templates/default.md.haml
+++ b/lib/gitlab/usage/docs/templates/default.md.haml
@@ -27,6 +27,9 @@
= render_name(name)
\
= render_description(object.attributes)
+ - if object.has_json_schema?
+ \
+ = render_object_schema(object)
\
= render_yaml_link(object.yaml_path)
\