{% if definition.type == "object" %} {%- with props = handler.get_properties(definition) -%} {% if props %} {%- for name, schema in props %} {%- endfor %}
{{texts.name}} {{texts.type}}
{{name}} {% include "partial/schema-repr.html" %}
{%- endif %} {%- endwith -%} {%- else -%} {%- with schema = definition -%} {{texts.type}}: {%- include "partial/schema-repr.html" -%} {%- endwith -%} {%- endif %}