Skip to content

Commit 49b8bd2

Browse files
committed
feat: change http method and enable rate limit
1 parent a63c179 commit 49b8bd2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

openapi/httpbin.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ paths:
1717
x-adc-name: httpbin_get
1818
x-adc-plugins:
1919
cors: {}
20+
limit-count:
21+
count: 3
22+
time_window: 30
23+
reject_code: 429
24+
key: remote_addr
2025
responses:
2126
'200':
2227
description: OK
@@ -41,7 +46,7 @@ paths:
4146
description: Example response (status code depends on path parameter)
4247

4348
/anything:
44-
post:
49+
get:
4550
summary: Echo any request data
4651
tags: [httpbin]
4752
x-adc-name: httpbin_anything

0 commit comments

Comments
 (0)