Merge pull request #11165 from zhongwencool/hide-global-limiter-from-swagger-api
chore: hide /configs/limiter from swagger api doc
This commit is contained in:
commit
bb1ae808b4
|
@ -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)),
|
||||
|
@ -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 => #{
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Remove `/configs/limiter` api from `swagger.json`, only the api documentation was removed,
|
||||
and the `/configs/limiter` api functionalities have not been changed.
|
Loading…
Reference in New Issue