Example{% if examples|length > 1 %}s{% endif %}:

{%- for example in examples -%} {%- set example_id = schema.html_id ~ "_ex" ~ loop.index -%} {%- set example_is_long = config.collapse_long_examples and example is not description_short -%} {%- if example_is_long -%} {%- endif -%}
{%- if not examples_as_yaml -%} {{ example | highlight_json_example }} {%- else -%} {{ example | highlight_yaml_example }} {%- endif -%}
{%- endfor -%}