Use markdown in responses description (closes #158)

This commit is contained in:
Roman Hotsiy 2016-12-07 19:26:44 +02:00
parent 82b52bf6ef
commit 16aa286c25
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -1,5 +1,5 @@
<h2 class="responses-list-header" *ngIf="responses.length"> Responses </h2>
<zippy *ngFor="let response of responses;trackBy:trackByCode" title="{{response.code}} {{response.description}}"
<zippy *ngFor="let response of responses;trackBy:trackByCode" title="{{response.code}} {{response.description || marked}}"
[type]="response.type" [empty]="response.empty" (open)="lazySchema.load()">
<div *ngIf="response.headers" class="response-headers">
<header>