openapi3-generator
Version:
Use your API OpenAPI 3 definition to generate code, documentation, and literally anything you need.
23 lines (21 loc) • 502 B
Markdown
{{#unless hideTitle}}
#### {{parameterName}}
{{/unless}}
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>In</th>
<th>Description</th>
<th>Accepted values</th>
</tr>
</thead>
<tbody>
{{#each param.schema.properties}}
{{> paramProp prop=. propName=@key required=(isRequired ../schema @key) path=''}}
{{else}}
{{> paramProp prop=param propName=paramName required=(isRequired ../schema @key) path=''}}
{{/each}}
</tbody>
</table>