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">
|
2016-07-20 11:07:08 +03:00
|
|
|
<a class="share-link" href="#{{method.anchor}}"></a>{{method.summary}}
|
2016-03-08 23:03:05 +03:00
|
|
|
</h2>
|
2016-07-20 11:07:08 +03:00
|
|
|
<div class="method-tags" *ngIf="method.info.tags.length">
|
|
|
|
<a *ngFor="let tag of method.info.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
2016-03-08 23:03:05 +03:00
|
|
|
</div>
|
2016-07-20 11:07:08 +03:00
|
|
|
<p *ngIf="method.info.description" class="method-description"
|
|
|
|
[innerHtml]="method.info.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>
|
2016-07-17 18:07:51 +03:00
|
|
|
|
|
|
|
<div class="method-endpoint">
|
2016-07-20 11:07:08 +03:00
|
|
|
<h5 class="http-method" [ngClass]="method.httpMethod">{{method.httpMethod}}</h5>
|
2016-07-17 18:07:51 +03:00
|
|
|
<span select-on-click><!--
|
2016-07-20 11:07:08 +03:00
|
|
|
--><span class="api-url">{{method.apiUrl}}</span><span class="path">{{method.path}}</span><!--
|
2016-07-17 18:07:51 +03:00
|
|
|
--></span>
|
|
|
|
</div>
|
|
|
|
|
2016-07-20 11:07:08 +03:00
|
|
|
<div *ngIf="method.bodyParam">
|
2016-03-08 23:03:05 +03:00
|
|
|
<br>
|
2016-07-20 11:07:08 +03:00
|
|
|
<request-samples [pointer]="pointer" [schemaPointer]="method.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>
|