File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
main/scala/code/api/v6_0_0
test/scala/code/api/v6_0_0 Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,9 +153,9 @@ trait APIMethods600 {
153153
154154
155155 staticResourceDocs += ResourceDoc (
156- callsLimit ,
156+ updateRateLimits ,
157157 implementedInApiVersion,
158- nameOf(callsLimit ),
158+ nameOf(updateRateLimits ),
159159 " PUT" ,
160160 " /management/consumers/CONSUMER_ID/consumer/rate-limits/RATE_LIMITING_ID" ,
161161 " Set Rate Limits / Call Limits per Consumer" ,
@@ -188,7 +188,7 @@ trait APIMethods600 {
188188 List (apiTagConsumer, apiTagRateLimits),
189189 Some (List (canUpdateRateLimits)))
190190
191- lazy val callsLimit : OBPEndpoint = {
191+ lazy val updateRateLimits : OBPEndpoint = {
192192 case " management" :: " consumers" :: consumerId :: " consumer" :: " rate-limits" :: rateLimitingId :: Nil JsonPut json -> _ => {
193193 cc =>
194194 implicit val ec = EndpointContext (Some (cc))
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class CallLimitsTest extends V600ServerSetup {
4646 object VersionOfApi extends Tag (ApiVersion .v6_0_0.toString)
4747 object ApiEndpoint1 extends Tag (nameOf(Implementations6_0_0 .createCallLimits))
4848 object ApiEndpoint2 extends Tag (nameOf(Implementations6_0_0 .deleteCallLimits))
49- object UpdateCallLimits extends Tag (nameOf(Implementations6_0_0 .updateCallLimits ))
49+ object UpdateRateLimits extends Tag (nameOf(Implementations6_0_0 .updateRateLimits ))
5050 object ApiEndpoint3 extends Tag (nameOf(Implementations6_0_0 .getActiveCallLimitsAtDate))
5151
5252 lazy val postCallLimitJsonV600 = CallLimitPostJsonV600 (
You can’t perform that action at this time.
0 commit comments