mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-27 11:03:43 +03:00
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
<div class="operation" *ngIf="operation">
|
|
<div class="operation-content">
|
|
<h2 class="operation-header sharable-header">
|
|
<a class="share-link" href="#{{operation.anchor}}"></a>{{operation.summary}}
|
|
</h2>
|
|
<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">
|
|
<h4 class="operation-params-subheader">Definition</h4>
|
|
|
|
<endpoint-link [verb]="operation.verb" [path]="operation.path"> </endpoint-link>
|
|
|
|
<div>
|
|
<request-samples [pointer]="pointer" [schemaPointer]="operation.bodyParam?._pointer">
|
|
</request-samples>
|
|
</div>
|
|
<div>
|
|
<br>
|
|
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
|
|
</div>
|
|
</div>
|
|
</div>
|