Skip to content

Commit 471800c

Browse files
added object description display as per issue fabiomaffioletti#12
1 parent b5bc188 commit 471800c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jsondoc-ui/src/main/webapp/jsondoc.jsp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ ol.linenums li {
464464
<script id="object" type="text/x-handlebars-template">
465465
<table class="table table-condensed table-striped table-bordered">
466466
<tr><th style="width:15%;">Name</th><td><code>{{name}}</code></td></tr>
467+
{{#if description}}
468+
<tr><th>Description</th><td>{{description}}</td></tr>
469+
{{/if}}
467470
{{#if fields}}
468471
<tr><th colspan=2>Fields</th></tr>
469472
{{#each fields}}

0 commit comments

Comments
 (0)