Skip to content

Commit 1eb583b

Browse files
authored
AcceptedValues field has never filled
1 parent 872ee7b commit 1eb583b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

templates/markdown/.partials/param-prop.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
</td>
1313
<td>{{prop.in}}</td>
1414
<td>{{{prop.descriptionAsHTML}}}</td>
15-
<td>{{{acceptedValues prop.enum}}}</td>
15+
<td>
16+
{{#if prop.schema}}
17+
{{{acceptedValues prop.schema.enum}}}
18+
{{else}}
19+
Any
20+
{{/if}}
21+
</td>
1622
</tr>
1723
{{#each prop.anyOf}}
1824
{{> paramProp prop=. propName=@key path=(buildPath ../propName ../path @key)}}

0 commit comments

Comments
 (0)