Skip to content

Add rate limiting documentation and tests#2433

Merged
jeremydmiller merged 2 commits intomainfrom
2404-http-rate-limiting
Apr 3, 2026
Merged

Add rate limiting documentation and tests#2433
jeremydmiller merged 2 commits intomainfrom
2404-http-rate-limiting

Conversation

@jeremydmiller
Copy link
Copy Markdown
Member

Summary

  • Add rate-limited endpoint using ASP.NET Core's [EnableRateLimiting] attribute
  • Configure fixed window rate limiter in sample app (1 req/10s, 429 rejection)
  • Add integration tests verifying 429 response when limit exceeded
  • Add documentation page explaining rate limiting with Wolverine.HTTP (uses standard ASP.NET Core middleware)

Test plan

  • 2 integration tests pass (rate limited returns 429, non-limited always succeeds)

Closes #2404

🤖 Generated with Claude Code

jeremydmiller and others added 2 commits April 3, 2026 15:32
Demonstrate that ASP.NET Core's built-in rate limiting middleware works
with Wolverine.HTTP endpoints out of the box, with integration test
proving 429 responses and documentation covering per-endpoint, global,
and ConfigureEndpoints-based rate limiting configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HTTP endpoint rate limiting for Wolverine.HTTP

1 participant