Fix api doc format

- The 'Template List' is a secondary title.
- The headers in the request parameters of the Webhook Add are
 json string, default empty should be "",  not null.

Change-Id: I4c7a22cceff8d95121e55d294cfbcb635e2c730d
This commit is contained in:
Q.hongtao 2020-06-28 10:06:46 +08:00
parent 20913a41b9
commit 9a87f422c0
1 changed files with 2 additions and 2 deletions

View File

@ -856,7 +856,7 @@ Response Examples
Template List Template List
============= ^^^^^^^^^^^^^
List all templates in the database, both those that passed validation and those that did not. List all templates in the database, both those that passed validation and those that did not.
@ -1830,7 +1830,7 @@ Request Examples
{ {
"webhook":{ "webhook":{
"url":"https://requestb.in/tqfkvtqa", "url":"https://requestb.in/tqfkvtqa",
"headers":null, "headers":"",
"regex_filter":"{'name':'e2e.*'}" "regex_filter":"{'name':'e2e.*'}"
} }
} }