fix: delayed message api page param & doc (#5587)
This commit is contained in:
parent
62ae1fe1df
commit
9d9eb2095b
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
-behavior(minirest_api).
|
-behavior(minirest_api).
|
||||||
|
|
||||||
-import(emqx_mgmt_util, [ schema/1
|
-import(emqx_mgmt_util, [ page_params/0
|
||||||
|
, schema/1
|
||||||
, schema/2
|
, schema/2
|
||||||
, object_schema/2
|
, object_schema/2
|
||||||
, error_schema/2
|
, error_schema/2
|
||||||
|
@ -102,6 +103,7 @@ delayed_messages_api() ->
|
||||||
Metadata = #{
|
Metadata = #{
|
||||||
get => #{
|
get => #{
|
||||||
description => "List delayed messages",
|
description => "List delayed messages",
|
||||||
|
parameters => page_params(),
|
||||||
responses => #{
|
responses => #{
|
||||||
<<"200">> => page_object_schema(properties())
|
<<"200">> => page_object_schema(properties())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue