apinf / platform

Apinf - Open source API management platform with multi proxy and protocol support
https://apinf.com/
European Union Public License 1.1
74 stars 33 forks source link

Rate limiting info in headers (swagger) missing #2498

Closed kyyberi closed 5 years ago

kyyberi commented 7 years ago

I added IP address based rate limiting to one of the APIs in apinf.io. Then I looked at the documentation (swagger). I tried a method (from swagger) and all works but in headers section I can't see any information about rate limiting.

screenshot at huhtikuuta 26 14-50-25

With Postman I was able to see rate limiting info.

Access-Control-Allow-Credentials →false
Access-Control-Allow-Origin →*
Age →0
Cache-Control →no-cache
Connection →keep-alive
Content-Encoding →gzip
Content-Type →application/json; charset=utf-8
Date →Wed, 26 Apr 2017 11:48:28 GMT
Expires →-1
Pragma →no-cache
Server →openresty
Transfer-Encoding →chunked
Via →kong/0.10.1, http/1.1 api-umbrella (ApacheTrafficServer [cMsSf ])
X-AspNet-Version →4.0.30319
X-Cache →MISS
X-Kong-Proxy-Latency →0
X-Kong-Upstream-Latency →25
X-Powered-By →ASP.NET
X-RateLimit-Limit →50
X-RateLimit-Remaining →47
bajiat commented 7 years ago

@kyyberi Can you give us the name of the API so that we can try to reproduce?