2017-03-30 15:17:08 +03:00
|
|
|
<div class="operation" *ngIf="operation">
|
|
|
|
<div class="operation-content">
|
2017-07-04 10:45:12 +03:00
|
|
|
<h2 class="operation-header sharable-header" [class.deprecated]="operation.deprecated">
|
2017-03-30 15:17:08 +03:00
|
|
|
<a class="share-link" href="#{{operation.anchor}}"></a>{{operation.summary}}
|
|
|
|
</h2>
|
2017-04-23 15:39:36 +03:00
|
|
|
<endpoint-link *ngIf="pathInMiddlePanel"
|
|
|
|
[verb]="operation.verb" [path]="operation.path"> </endpoint-link>
|
2017-03-30 15:17:08 +03:00
|
|
|
<div class="operation-tags" *ngIf="operation.info.tags.length">
|
|
|
|
<a *ngFor="let tag of operation.info.tags" attr.href="#tag/{{tag}}"> {{tag}} </a>
|
|
|
|
</div>
|
|
|
|
<p *ngIf="operation.info.description" class="operation-description"
|
|
|
|
[innerHtml]="operation.info.description | marked">
|
|
|
|
</p>
|
|
|
|
<redoc-externalDocs [docs]="operation.externalDocs"></redoc-externalDocs>
|
|
|
|
<params-list pointer="{{pointer}}/parameters"> </params-list>
|
|
|
|
<responses-list pointer="{{pointer}}/responses"> </responses-list>
|
|
|
|
</div>
|
|
|
|
<div class="operation-samples">
|
|
|
|
|
2017-04-23 15:39:36 +03:00
|
|
|
<endpoint-link *ngIf="!pathInMiddlePanel"
|
|
|
|
[verb]="operation.verb" [path]="operation.path"> </endpoint-link>
|
2017-03-30 15:17:08 +03:00
|
|
|
|
|
|
|
<div>
|
|
|
|
<request-samples [pointer]="pointer" [schemaPointer]="operation.bodyParam?._pointer">
|
|
|
|
</request-samples>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<br>
|
|
|
|
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|