From 93eb6fb3520dd8770065332699d4527cabb8e13d Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Jan 2016 22:46:22 +0000 Subject: [PATCH] another diff noise fix --- templating/matrix_templates/templates/http-api.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templating/matrix_templates/templates/http-api.tmpl b/templating/matrix_templates/templates/http-api.tmpl index a4d9af24..27d3ddc9 100644 --- a/templating/matrix_templates/templates/http-api.tmpl +++ b/templating/matrix_templates/templates/http-api.tmpl @@ -21,13 +21,13 @@ Request format: {% if (endpoint.req_param_by_loc | length) %} {{ tables.split_paramtable(endpoint.req_param_by_loc) }} - -{% if (endpoint.req_body_tables) -%} +{% if (endpoint.req_body_tables) %} {% for table in endpoint.req_body_tables -%} {{"``"+table.title+"``" if table.title else "" }} {{ tables.paramtable(table.rows) }} {% endfor -%} {% endif -%} + {% else %} `No parameters` {% endif %}