Merge pull request #95 from pose/json-response-pretty-print

Adding JSON sample UI to response
This commit is contained in:
Tony Tam
2012-11-25 21:10:52 -08:00
6 changed files with 33 additions and 11 deletions

View File

@@ -22,12 +22,8 @@
<p>{{{notes}}}</p>
{{/if}}
{{#if responseClass}}
<h4>Response Class</h4>
{{#if responseClassSignature}}
<p><span class="model-signature">{{{responseClassSignature}}}</span></p>
{{else}}
<p>{{{responseClass}}}</p>
{{/if}}
<h4>Response Model</h4>
<span class="model-signature"></span>
{{/if}}
<form accept-charset='UTF-8' class='sandbox'>
<div style='margin:0;padding:0;display:inline'></div>

View File

@@ -12,7 +12,7 @@
<div class="snippet">
<pre><code>{{sampleJSON}}</code></pre>
<small>Click to set as parameter value</small>
<small class="notice"></small>
</div>
</div>