mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-30 20:43:42 +03:00
31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<div class="method" *ngIf="method">
|
|
<div class="method-content">
|
|
<h2 class="method-header sharable-header">
|
|
<a class="share-link" href="#{{method.anchor}}"></a>{{method.summary}}
|
|
</h2>
|
|
<div class="method-tags" *ngIf="method.info.tags.length">
|
|
<a *ngFor="let tag of method.info.tags" attr.href="#tag/{{tag}}"> {{tag}} </a>
|
|
</div>
|
|
<p *ngIf="method.info.description" class="method-description"
|
|
[innerHtml]="method.info.description | marked">
|
|
</p>
|
|
<redoc-externalDocs [docs]="method.externalDocs"></redoc-externalDocs>
|
|
<params-list pointer="{{pointer}}/parameters"> </params-list>
|
|
<responses-list pointer="{{pointer}}/responses"> </responses-list>
|
|
</div>
|
|
<div class="method-samples">
|
|
<h4 class="method-params-subheader">Definition</h4>
|
|
|
|
<endpoint-link [verb]="method.verb" [path]="method.path"> </endpoint-link>
|
|
|
|
<div>
|
|
<request-samples [pointer]="pointer" [schemaPointer]="method.bodyParam?._pointer">
|
|
</request-samples>
|
|
</div>
|
|
<div>
|
|
<br>
|
|
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
|
|
</div>
|
|
</div>
|
|
</div>
|