{% import "type_name.html" as common %}

service {{ service.name }} {% if service.repository_url %} {{ service.source_file_path }} {% endif %}

{{ service.description_html | safe }}

{% for method in service.methods %}
rpc {{ method.name }}
Request: {{ common.type_name(method.request) | trim }}
Response: {{ common.type_name(method.response) }}
{% if method.description_html %}

{{ method.description_html | safe }}

{% endif %}
{% endfor %}