2015-10-21 14:07:22 +03:00
|
|
|
<div class="method">
|
2015-11-22 16:45:27 +03:00
|
|
|
<div class="method-content">
|
2015-11-29 20:24:46 +03:00
|
|
|
<h2 class="method-header sharable-header">
|
2016-03-09 21:44:20 +03:00
|
|
|
<a class="share-link" href="#{{data.methodAnchor | encodeURIComponent }}"></a>{{data.methodInfo.summary}}
|
2015-11-27 01:43:01 +03:00
|
|
|
</h2>
|
2015-11-22 16:45:27 +03:00
|
|
|
<h3 class="method-endpoint">
|
2015-12-19 03:24:25 +03:00
|
|
|
<span class="http-method" [ngClass]="data.httpMethod">{{data.httpMethod}}</span>
|
2015-11-17 01:03:09 +03:00
|
|
|
<span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
|
2015-10-21 14:07:22 +03:00
|
|
|
</h3>
|
2015-12-14 18:20:40 +03:00
|
|
|
<div class="method-tags" *ngIf="data.methodInfo.tags.length">
|
|
|
|
<a *ngFor="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
2015-10-30 12:43:51 +03:00
|
|
|
</div>
|
2015-12-14 18:20:40 +03:00
|
|
|
<p *ngIf="data.methodInfo.description" class="method-description"
|
|
|
|
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>
|
|
|
|
</div>
|
2015-11-22 16:45:27 +03:00
|
|
|
<div class="method-samples">
|
2015-12-14 18:20:40 +03:00
|
|
|
<div *ngIf="data.bodyParam">
|
2016-01-31 20:37:51 +03:00
|
|
|
<request-samples [pointer]="pointer" [bodySchemaPtr]="data.bodyParam._pointer">
|
|
|
|
</request-samples>
|
2015-10-25 14:26:38 +03:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
|
|
|
|
</div>
|
2015-10-21 14:07:22 +03:00
|
|
|
</div>
|
|
|
|
<div>
|