We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7940c5 commit 1e58577Copy full SHA for 1e58577
doc/api-docs/template/sub_param_macros.twig
@@ -26,8 +26,12 @@
26
{{ _self.iterate_sub_params(sub_param.properties, 'false', full_name) }}
27
{% endif %}
28
{% elseif sub_param.type == 'array' %}
29
- {% set subType = sub_param.itemSchema.type %}
30
- {% set type = 'array of ' ~ subType ~ 's' %}
+ {% if sub_params.itemSchema is null %}
+ {% set type = 'array' %}
31
+ {% else %}
32
+ {% set subType = sub_param.itemSchema.type %}
33
+ {% set type = 'array of ' ~ subType ~ 's' %}
34
+ {% endif %}
35
{% elseif parent_is_array == 'true' %}
36
{% set render = 'false' %}
37
0 commit comments