Sfoglia il codice sorgente

docs: /trace returns list not single trace

Stefan Strigler 3 anni fa
parent
commit
1ba66fc722
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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",
             description => "List all trace",
             tags => ?TAGS,
             tags => ?TAGS,
             responses => #{
             responses => #{
-                200 => hoconsc:ref(trace)
+                200 => hoconsc:array(hoconsc:ref(trace))
             }
             }
         },
         },
         post => #{
         post => #{