From 71b6ea8578ce26210b442d699fc1a7792dfe15e0 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 7 Jan 2016 22:32:01 +0000 Subject: [PATCH] Fix a couple of things which were giving noisy diffs --- templating/matrix_templates/templates/http-api.tmpl | 1 - templating/matrix_templates/units.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/templating/matrix_templates/templates/http-api.tmpl b/templating/matrix_templates/templates/http-api.tmpl index 405ca84e..a4d9af24 100644 --- a/templating/matrix_templates/templates/http-api.tmpl +++ b/templating/matrix_templates/templates/http-api.tmpl @@ -28,7 +28,6 @@ Request format: {{ tables.paramtable(table.rows) }} {% endfor -%} {% endif -%} - {% else %} `No parameters` {% endif %} diff --git a/templating/matrix_templates/units.py b/templating/matrix_templates/units.py index 5bfd704b..97829708 100644 --- a/templating/matrix_templates/units.py +++ b/templating/matrix_templates/units.py @@ -470,7 +470,7 @@ class MatrixUnits(Units): # put the top-level parameters into 'req_param_by_loc', and the others # into 'req_body_tables' - body_params = endpoint_data['req_param_by_loc'].setdefault("body",[]) + body_params = endpoint_data['req_param_by_loc'].setdefault("JSON body",[]) body_params.extend(req_body_tables[0]["rows"]) body_tables = req_body_tables[1:]