Skip to content

Commit

Permalink
chore: hide /configs/limiter from swagger api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwencool committed Jun 30, 2023
1 parent 4506eff commit 3eefa1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/emqx_management/src/emqx_mgmt_api_configs.erl
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ schema("/configs/limiter") ->
'operationId' => limiter,
get => #{
tags => ?TAGS,
hidden => true,
description => ?DESC(get_node_level_limiter_configs),
responses => #{
200 => hoconsc:mk(hoconsc:ref(emqx_limiter_schema, limiter)),
Expand All @@ -153,6 +154,7 @@ schema("/configs/limiter") ->
},
put => #{
tags => ?TAGS,
hidden => true,
description => ?DESC(update_node_level_limiter_configs),
'requestBody' => hoconsc:mk(hoconsc:ref(emqx_limiter_schema, limiter)),
responses => #{
Expand Down

0 comments on commit 3eefa1b

Please sign in to comment.