mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 07:41:43 +03:00
Requirements fields: requirement, dataType and description can be optional
This commit is contained in:
parent
769b435cf3
commit
4a831c3a20
@ -68,9 +68,9 @@
|
||||
{% for name, infos in data.requirements %}
|
||||
<tr>
|
||||
<td>{{ name }}</td>
|
||||
<td>{{ infos.requirement }}</td>
|
||||
<td>{{ infos.dataType }}</td>
|
||||
<td>{{ infos.description }}</td>
|
||||
<td>{{ infos.requirement is defined ? infos.requirement : ''}}</td>
|
||||
<td>{{ infos.dataType is defined ? infos.dataType : ''}}</td>
|
||||
<td>{{ infos.description is defined ? infos.description : ''}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
Loading…
x
Reference in New Issue
Block a user