redoc/lib/components/SchemaSample/schema-sample.html
2016-01-23 23:35:44 +02:00

6 lines
208 B
HTML

<div class="snippet">
<!-- in case sample is not available for some reason -->
<pre *ngIf="data.sample == null"> Sample unavailable </pre>
<pre innerHtml="{{data.sample | jsonFormatter}}"></pre>
</div>