mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-27 02:53:43 +03:00
30 lines
1014 B
HTML
30 lines
1014 B
HTML
<div class="method">
|
|
<div class="content">
|
|
<h2>{{data.methodInfo.summary}}</h2>
|
|
<h3>
|
|
<span class="http-method" [ng-class]="data.method">{{data.method}}</span>
|
|
<span class="path">{{data.path}}</span>
|
|
</h3>
|
|
<div class="method-tags"> Tags:
|
|
<a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
|
</div>
|
|
<p *ng-if="data.methodInfo.description" class="method-description"
|
|
inner-html="{{data.methodInfo.description | marked}}">
|
|
</p>
|
|
<br>
|
|
<params-list pointer="{{pointer}}/parameters"> </params-list>
|
|
<br>
|
|
<responses-list pointer="{{pointer}}/responses"> </responses-list>
|
|
</div>
|
|
<div class="samples">
|
|
<div *ng-if="data.bodyParam">
|
|
<header> Body sample </header>
|
|
<schema-sample pointer="{{data.bodyParam._pointer}}/schema"> </schema-sample>
|
|
</div>
|
|
<div>
|
|
<header> Responses samples </header>
|
|
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
|
|
</div>
|
|
</div>
|
|
<div>
|