2016-03-14 23:27:07 +03:00
|
|
|
<div>
|
2016-07-20 11:07:08 +03:00
|
|
|
<h1 class="api-info-header">{{info.title}} ({{info.version}})</h1>
|
2016-07-21 13:35:27 +03:00
|
|
|
<p *ngIf="info.description" [innerHtml]="info['x-redoc-html-description'] | safe"> </p>
|
2016-03-14 23:27:07 +03:00
|
|
|
<p>
|
|
|
|
<!-- TODO: create separate components for contact and license ? -->
|
2016-07-20 11:07:08 +03:00
|
|
|
<span *ngIf="info.contact"> Contact:
|
|
|
|
<a *ngIf="info.contact.url" href="{{info.contact.url}}">
|
|
|
|
{{info.contact.name || info.contact.url}}</a>
|
|
|
|
<a *ngIf="info.contact.email" href="mailto:{{info.contact.email}}">
|
|
|
|
{{info.contact.email}}</a>
|
2016-03-14 23:27:07 +03:00
|
|
|
</span>
|
2016-07-20 11:07:08 +03:00
|
|
|
<span *ngIf="info.license"> License:
|
|
|
|
<a *ngIf="info.license.url" href="{{info.license.url}}"> {{info.license.name}} </a>
|
|
|
|
<span *ngIf="!info.license.url"> {{info.license.name}} </span>
|
2016-03-14 23:27:07 +03:00
|
|
|
</span>
|
|
|
|
</p>
|
2016-03-31 00:20:31 +03:00
|
|
|
<p>
|
|
|
|
Download OpenAPI (fka Swagger) specification:
|
|
|
|
<a class="openapi-button" target="_blank" attr.href='{{specUrl}}'> Download </a>
|
|
|
|
</p>
|
2016-03-14 23:27:07 +03:00
|
|
|
</div>
|