redoc/lib/components/Method/method.html

30 lines
1.1 KiB
HTML
Raw Normal View History

2015-10-21 14:07:22 +03:00
<div class="method">
<div class="content">
<h2>{{data.methodInfo.summary}}</h2>
<h3>
<span class="http-method" [ng-class]="data.method">{{data.method}}</span>
2015-11-17 01:03:09 +03:00
<span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
2015-10-21 14:07:22 +03:00
</h3>
2015-11-17 02:43:05 +03:00
<div class="method-tags" *ng-if="data.methodInfo.tags.length">
2015-10-30 12:43:51 +03:00
<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}}">
2015-10-21 14:07:22 +03:00
</p>
<br>
<params-list pointer="{{pointer}}/parameters"> </params-list>
<br>
<responses-list pointer="{{pointer}}/responses"> </responses-list>
</div>
<div class="samples">
2015-10-25 14:26:38 +03:00
<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>
2015-10-21 14:07:22 +03:00
</div>
<div>