{%- for op, hints in op_names|zip(op_hints) -%} { "op": "{{ op }}"{{ ', ...' if hints.parameters|length != 0}} } {% include 'hints.html' %} {%- endfor -%} {%- for op, hints, scheme, media_type in extdata_op|zip(extdata_hints,extdata_scheme,extdata_media_type) -%} { "op": "{{ op }}", {{'"media_type": "' + media_type + '",' if media_type}} "uri": "{{ scheme }}://..." {{ ', ...' if hints.parameters|length > 1}} } {% include 'hints.html' %} {%- endfor -%}
{ "op": "{{ op }}"{{ ', ...' if hints.parameters|length != 0}} }
{ "op": "{{ op }}", {{'"media_type": "' + media_type + '",' if media_type}} "uri": "{{ scheme }}://..." {{ ', ...' if hints.parameters|length > 1}} }