ThreeMammals / Ocelot

.NET API Gateway
https://www.nuget.org/packages/Ocelot
MIT License
8.28k stars 1.63k forks source link

how to document rate limit in swagger #2026

Closed sarahhachouche1 closed 4 months ago

sarahhachouche1 commented 4 months ago

"RateLimitOptions": { "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, "Limit": 10, "ClientWhitelist": [ "9e32fca1-df87-4463-8ef0-cf5670186687" ] }

how can I document the response for quota in swagger

raman-m commented 4 months ago

You have to ask your questions in Discussions space ❗