fix(sys): fix bad swagger example format
This commit is contained in:
parent
59c41c7c6e
commit
7c931e4dc6
|
@ -57,7 +57,8 @@
|
|||
<<"delayed">>,
|
||||
<<"event_message">>,
|
||||
<<"prometheus">>,
|
||||
<<"telemetry">>
|
||||
<<"telemetry">>,
|
||||
<<"sys_topics">>
|
||||
] ++ global_zone_roots()
|
||||
).
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ schema("/mqtt/sys_topics") ->
|
|||
}.
|
||||
|
||||
schema_sys_topics() ->
|
||||
emqx_dashboard_swagger:schema_with_examples(
|
||||
emqx_dashboard_swagger:schema_with_example(
|
||||
hoconsc:ref(emqx_schema, "sys_topics"), example_sys_topics()).
|
||||
|
||||
example_sys_topics() ->
|
||||
|
|
Loading…
Reference in New Issue