redoc/lib/components/SchemaSample/schema-sample.html
2016-06-22 12:45:03 +03:00

6 lines
211 B
HTML

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