redoc/lib/components/Method/method.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2016-11-23 02:23:32 +03:00
<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">
2015-10-21 14:07:22 +03:00
</p>
2017-02-03 00:08:04 +03:00
<redoc-externalDocs [docs]="method.externalDocs"></redoc-externalDocs>
2015-10-21 14:07:22 +03:00
<params-list pointer="{{pointer}}/parameters"> </params-list>
<responses-list pointer="{{pointer}}/responses"> </responses-list>
2016-11-23 02:23:32 +03:00
</div>
<div class="method-samples">
<h4 class="method-params-subheader">Definition</h4>
2016-07-17 18:07:51 +03:00
2017-02-26 00:38:19 +03:00
<endpoint-link [verb]="method.verb" [path]="method.path"> </endpoint-link>
2016-07-17 18:07:51 +03:00
<div>
<request-samples [pointer]="pointer" [schemaPointer]="method.bodyParam?._pointer">
2016-03-08 23:03:05 +03:00
</request-samples>
2015-10-25 14:26:38 +03:00
</div>
<div>
2016-03-08 23:03:05 +03:00
<br>
<responses-samples pointer="{{pointer}}/responses"> </responses-samples>
2015-10-25 14:26:38 +03:00
</div>
2016-11-23 02:23:32 +03:00
</div>
2016-03-08 23:03:05 +03:00
</div>