forked from Neoteroi/essentials-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequest-parameters.html
More file actions
27 lines (25 loc) · 874 Bytes
/
request-parameters.html
File metadata and controls
27 lines (25 loc) · 874 Bytes
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
**{{texts.parameters}}**
<table>
<thead>
<tr>
<th>{{texts.parameter}}</th>
<th>{{texts.parameter_location}}</th>
<th>{{texts.type}}</th>
<th>{{texts.default}}</th>
<th>{{texts.nullable}}</th>
<th>{{texts.description}}</th>
</tr>
</thead>
<tbody>
{%- for param in parameters %}
<tr>
<td class="parameter-name"><code>{{param.name}}</code></td>
<td>{{param.in}}</td>
<td>{{get_type_display(read_dict(param, "schema", "type"))}}</td>
<td>{{read_dict(param, "schema", "default", default="")}}</td>
<td>{{texts.get_yes_no(is_nullable_schema(read_dict(param, "schema") or {}))}}</td>
<td>{{read_dict(param, "description", default="")}}</td>
</tr>
{%- endfor %}
</tbody>
</table>