docs: fix schema for /trace/:name/log

This commit is contained in:
Stefan Strigler 2022-12-02 13:23:40 +01:00
parent 0bddc79a13
commit 9100b13db6
3 changed files with 6 additions and 2 deletions

View File

@ -172,8 +172,8 @@ schema("/trace/:name/log") ->
responses => #{
200 =>
[
{items, hoconsc:mk(binary(), #{example => "TEXT-LOG-ITEMS"})}
| fields(bytes) ++ fields(position)
{items, hoconsc:mk(binary(), #{example => "TEXT-LOG-ITEMS"})},
{meta, fields(bytes) ++ fields(position)}
]
}
}

View File

@ -19,3 +19,5 @@
## Bug fixes
- Fix that the obsolete SSL files aren't deleted after the ExHook config update [#9432](https://github.com/emqx/emqx/pull/9432).
- Fix schema for `GET /trace/:name/log` [#9468](https://github.com/emqx/emqx/pull/9468).

View File

@ -18,3 +18,5 @@
## 修复
- 修复 ExHook 更新 SSL 相关配置后,过时的 SSL 文件没有被删除的问题 [#9432](https://github.com/emqx/emqx/pull/9432)。
- [FIXME] Fix schema for `GET /trace/:name/log` [#9468](https://github.com/emqx/emqx/pull/9468).