Closed EchoEllet closed 5 months ago
Hi, you can ignore the rate-limit part in the url by adding it to the ignored selectors in the plugin config
install(SwaggerUI) {
ignoredRouteSelectors += RateLimitRouteSelector::class
}
I'll also probly add ignore it by default in some future version.
Hi, you can ignore the rate-limit part in the url by adding it to the ignored selectors in the plugin config
install(SwaggerUI) { ignoredRouteSelectors += RateLimitRouteSelector::class }
I'll also probly add ignore it by default in some future version.
Thanks. Also, it would be nice (even though it's difficult and unlikely to happen) to generate the route info like description from the route comments just like in javascript
When using Ktor Server RateLimit from the Ktor team, it won't work as it will make the URL invalid
Example code:
Installing the RateLimit plugin and configuring it
Register the rateLimit for any route
When I send a request it send 404 because the URL is not correct because of the
RateLimit auth
in the URL path