-
Notifications
You must be signed in to change notification settings - Fork 27
/
security.md.hbs
30 lines (28 loc) · 1 KB
/
security.md.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{{#if openapi.components.securitySchemes}}
<a name="security"></a>
## Security
<table class="table">
<thead class="table__head">
<tr class="table__head__row">
<th class="table__head__cell">Type</th>
<th class="table__head__cell">In</th>
<th class="table__head__cell">Name</th>
<th class="table__head__cell">Scheme</th>
<th class="table__head__cell">Format</th>
<th class="table__head__cell">Description</th>
</tr>
</thead>
<tbody class="table__body">
{{#each openapi.components.securitySchemes as |security|}}
<tr class="table__body__row">
<td class="table__body__cell">{{security.type}}</td>
<td class="table__body__cell">{{security.in}}</td>
<td class="table__body__cell">{{security.name}}</td>
<td class="table__body__cell">{{security.scheme}}</td>
<td class="table__body__cell">{{security.bearerFormat}}</td>
<td class="table__body__cell">{{{security.descriptionAsHTML}}}</td>
</tr>
{{/each}}
</tbody>
</table>
{{/if}}