test bullet list

This commit is contained in:
Tit Petric
2018-06-03 14:36:24 +02:00
parent 49c13be560
commit 29dee01e7a
3 changed files with 9 additions and 14 deletions
+2 -6
View File
@@ -232,15 +232,11 @@ The following event types may be sent with a message event:
| Parameter | Type | Method | Description | Default | Required? |
| --------- | ---- | ------ | ----------- | ------- | --------- |
| query | string | GET | Search string to match against messages | N/A | NO |
| message_type | string | GET | Limit results to message type | N/A
Values:
| message_type | string | GET | Limit results to message type | N/A<br><br>Values:<br><br>
- `history`
- `message`
- `attachment`
- `media`
| NO |
- `media` | NO |
# Members
+3 -1
View File
@@ -27,7 +27,9 @@ function cleanUp($contents) {
}
$empty = false;
}
return implode("\n", $lines);
$contents = implode("\n", $lines);
$contents = str_replace("`\n|", "` |", $contents);
return $contents;
}
$spec = json_decode(file_get_contents("src/_spec.json"), true);
+4 -7
View File
@@ -15,13 +15,10 @@
{foreach $call.parameters as $method => $params}
{foreach $params as $param}
| {param.name} | {param.type} | {method|toupper} | {param.title} | {if empty($param.default)}N/A{else}{param.default}{/if}
{if $param.values}
Values:
{foreach $param.values as $value}- `{value}`
{/foreach}
{/if} | {if $param.required}YES{else}NO{/if} |
{if $param.values}<br><br>Values:<br><br>
{foreach $param.values as $value}
- `{value}`
{/foreach}{/if} | {if $param.required}YES{else}NO{/if} |
{/foreach}
{/foreach}