2012-04-13 11:24:57 +02:00
|
|
|
{% extends "NelmioApiDocBundle::layout.html.twig" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2013-02-21 15:47:20 -03:00
|
|
|
{% for section, sections in resources %}
|
2013-02-21 15:56:10 -03:00
|
|
|
{% if section != 'others' %}
|
|
|
|
<h1>{{ section }}</h1>
|
|
|
|
{% endif %}
|
2013-02-21 15:47:20 -03:00
|
|
|
{% for resource, methods in sections %}
|
|
|
|
<li class="resource">
|
|
|
|
<div class="heading">
|
|
|
|
{% if section == 'others' and resource == 'others' %}
|
|
|
|
<h2>{{ resource }}</h2>
|
|
|
|
{% endif %}
|
|
|
|
{% if resource != 'others' %}
|
|
|
|
<h2>{{ resource }}</h2>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<ul class="endpoints">
|
|
|
|
<li class="endpoint">
|
|
|
|
<ul class="operations">
|
|
|
|
{% for data in methods %}
|
|
|
|
{% include 'NelmioApiDocBundle::method.html.twig' %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
2012-04-13 11:24:57 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endblock content %}
|