Sapan Bhatia | 0917402 | 2017-06-02 13:39:28 +0200 | [diff] [blame] | 1 | { |
2 | {%- for model in proto.messages %} | ||||
3 | {%- if model.links %} | ||||
4 | "{{ model.name }}": [ | ||||
5 | {{ model.links | map(attribute='peer') | format_list("\"%s\"") |join(',\n\t\t') }} | ||||
6 | ],{% endif -%} | ||||
7 | {% endfor %} | ||||
8 | } |