Skip to content

Commit 30986dd

Browse files
authored
fix: mark required props in object in array (#114)
1 parent 8e6f10f commit 30986dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

partials/schema-prop.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
{% if isCirc === true %}
172172
{{ schemaItem(pName, odd) }}
173173
{% else %}
174-
{{ schemaProp(p, pName, odd=(not odd), required=(prop.required() | includes(pName))) }}
174+
{{ schemaProp(p, pName, odd=(not odd), required=(prop.items().required() | includes(pName))) }}
175175
{% endif %}
176176
{% endfor %}
177177
{% endif %}

0 commit comments

Comments
 (0)