fix(limiter): make elvis happy
This commit is contained in:
parent
5459e38e15
commit
114f676150
|
@ -44,7 +44,7 @@ paths() ->
|
||||||
[?PREFIX, ?PREFIX ++ "/messages", ?PREFIX ++ "/message/:topic"].
|
[?PREFIX, ?PREFIX ++ "/messages", ?PREFIX ++ "/message/:topic"].
|
||||||
|
|
||||||
schema(?PREFIX) ->
|
schema(?PREFIX) ->
|
||||||
#{operationId => config,
|
#{'operationId' => config,
|
||||||
get => #{tags => ?TAGS,
|
get => #{tags => ?TAGS,
|
||||||
description => <<"Get retainer config">>,
|
description => <<"Get retainer config">>,
|
||||||
responses => #{200 => mk(conf_schema(), #{desc => "The config content"}),
|
responses => #{200 => mk(conf_schema(), #{desc => "The config content"}),
|
||||||
|
@ -61,7 +61,7 @@ schema(?PREFIX) ->
|
||||||
};
|
};
|
||||||
|
|
||||||
schema(?PREFIX ++ "/messages") ->
|
schema(?PREFIX ++ "/messages") ->
|
||||||
#{operationId => lookup_retained_warp,
|
#{'operationId' => lookup_retained_warp,
|
||||||
get => #{tags => ?TAGS,
|
get => #{tags => ?TAGS,
|
||||||
description => <<"List retained messages">>,
|
description => <<"List retained messages">>,
|
||||||
parameters => page_params(),
|
parameters => page_params(),
|
||||||
|
@ -72,7 +72,7 @@ schema(?PREFIX ++ "/messages") ->
|
||||||
};
|
};
|
||||||
|
|
||||||
schema(?PREFIX ++ "/message/:topic") ->
|
schema(?PREFIX ++ "/message/:topic") ->
|
||||||
#{operationId => with_topic_warp,
|
#{'operationId' => with_topic_warp,
|
||||||
get => #{tags => ?TAGS,
|
get => #{tags => ?TAGS,
|
||||||
description => <<"Lookup a message by a topic without wildcards">>,
|
description => <<"Lookup a message by a topic without wildcards">>,
|
||||||
parameters => parameters(),
|
parameters => parameters(),
|
||||||
|
|
Loading…
Reference in New Issue