2015-10-21 14:07:22 +03:00
|
|
|
<div class="method">
|
2016-03-08 23:03:05 +03:00
|
|
|
<div class="method-content">
|
|
|
|
<h2 class="method-header sharable-header">
|
|
|
|
<a class="share-link" href="#{{data.methodAnchor}}"></a>{{data.methodInfo.summary}}
|
|
|
|
</h2>
|
|
|
|
<div class="method-tags" *ngIf="data.methodInfo.tags.length">
|
2016-04-29 22:57:24 +03:00
|
|
|
<a *ngFor="let tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
2016-03-08 23:03:05 +03:00
|
|
|
</div>
|
|
|
|
<p *ngIf="data.methodInfo.description" class="method-description"
|
2016-06-22 12:45:03 +03:00
|
|
|
[innerHtml]="data.methodInfo.description | marked">
|
2015-10-21 14:07:22 +03:00
|
|
|
</p>
|
|
|
|
<params-list pointer="{{pointer}}/parameters"> </params-list>
|
|
|
|
<responses-list pointer="{{pointer}}/responses"> </responses-list>
|
2016-03-08 23:03:05 +03:00
|
|
|
</div>
|
|
|
|
<div class="method-samples">
|
|
|
|
<h5>Definition</h5>
|
|
|
|
<span class="method-endpoint">
|
|
|
|
<h5 class="http-method" [ngClass]="data.httpMethod">{{data.httpMethod}}</h5>
|
2016-05-10 10:15:16 +03:00
|
|
|
<span class="api-url">{{data.apiUrl}}</span><span class="path">{{data.path}}</span>
|
2016-03-08 23:03:05 +03:00
|
|
|
</span>
|
2015-12-14 18:20:40 +03:00
|
|
|
<div *ngIf="data.bodyParam">
|
2016-03-08 23:03:05 +03:00
|
|
|
<br>
|
2016-05-06 00:48:41 +03:00
|
|
|
<request-samples [pointer]="pointer" [schemaPointer]="data.bodyParam._pointer">
|
2016-03-08 23:03:05 +03:00
|
|
|
</request-samples>
|
2015-10-25 14:26:38 +03:00
|
|
|
</div>
|
|
|
|
<div>
|
2016-03-08 23:03:05 +03:00
|
|
|
<br>
|
|
|
|
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
|
2015-10-25 14:26:38 +03:00
|
|
|
</div>
|
2016-03-08 23:03:05 +03:00
|
|
|
</div>
|
2015-10-21 14:07:22 +03:00
|
|
|
<div>
|