Przeglądaj źródła

docs: /trace returns list not single trace

Stefan Strigler 3 lat temu
rodzic
commit
1ba66fc722
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      apps/emqx_management/src/emqx_mgmt_api_trace.erl

+ 1 - 1
apps/emqx_management/src/emqx_mgmt_api_trace.erl

@@ -72,7 +72,7 @@ schema("/trace") ->
             description => "List all trace",
             tags => ?TAGS,
             responses => #{
-                200 => hoconsc:ref(trace)
+                200 => hoconsc:array(hoconsc:ref(trace))
             }
         },
         post => #{