fix: delayed message api page param & doc (#5587)

This commit is contained in:
DDDHuang 2021-08-27 17:13:16 +08:00 committed by GitHub
parent 62ae1fe1df
commit 9d9eb2095b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,8 @@
-behavior(minirest_api).
-import(emqx_mgmt_util, [ schema/1
-import(emqx_mgmt_util, [ page_params/0
, schema/1
, schema/2
, object_schema/2
, error_schema/2
@ -102,6 +103,7 @@ delayed_messages_api() ->
Metadata = #{
get => #{
description => "List delayed messages",
parameters => page_params(),
responses => #{
<<"200">> => page_object_schema(properties())
}