Fix a couple of things which were giving noisy diffs
This commit is contained in:
parent
c6f5ba09d4
commit
71b6ea8578
2 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@ Request format:
|
||||||
{{ tables.paramtable(table.rows) }}
|
{{ tables.paramtable(table.rows) }}
|
||||||
{% endfor -%}
|
{% endfor -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
`No parameters`
|
`No parameters`
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -470,7 +470,7 @@ class MatrixUnits(Units):
|
||||||
|
|
||||||
# put the top-level parameters into 'req_param_by_loc', and the others
|
# put the top-level parameters into 'req_param_by_loc', and the others
|
||||||
# into 'req_body_tables'
|
# 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_params.extend(req_body_tables[0]["rows"])
|
||||||
|
|
||||||
body_tables = req_body_tables[1:]
|
body_tables = req_body_tables[1:]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue