Skip to content

feat: enforce one HTTP route per handler - #12

Merged
earguinarena merged 2 commits into
mainfrom
feature/single-route-per-handler
Sep 22, 2026
Merged

earguinarena merged 2 commits into
mainfrom
feature/single-route-per-handler

Conversation

@earguinarena

Copy link
Copy Markdown
Contributor

Summary

  • Enforces at most one HTTP route per handler across GET, POST, PUT, DELETE, and ANY.
  • Centralizes validation in the shared HTTP decorator factory.
  • Reports the handler name and all conflicting method/path pairs.

Validation

  • 258 tests passed.
  • python -m compileall -q src tests passed.
  • git diff --check passed.

Parent test commit: bebf183.

@earguinarena
earguinarena merged commit 6d4dfcb into main Sep 22, 2026
6 checks passed
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.

1 participant