Skip to content

Name routes without x-method_name; pin http2py floor in generated packages (#25, #26) - #27

Merged
thorwhalen merged 2 commits into
masterfrom
fix/25-26-route-names-and-pin
Oct 13, 2026
Merged

thorwhalen merged 2 commits into
masterfrom
fix/25-26-route-names-and-pin

Conversation

@thorwhalen

@thorwhalen thorwhalen commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Fixes #26, fixes #25.

Adversarial review (fresh Opus subagent): confirmed (1) an operationId that sanitizes to nothing was used raw, and (2) the server base path leaked into derived names; both fixed in the second commit with tests. (3) Names that collide after sanitizing are not told apart: not a regression, filed as a follow-up issue.

🤖 Generated with Claude Code

thorwhalen and others added 2 commits October 13, 2026 06:11
…ackages (#25, #26)

A route with no x-method_name is now named from its operationId, else from method + path, so such routes no longer all register as request_func. Generated setup.cfg requires http2py>=0.1.37, the first release with HttpClient.routes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…gnore the server base path

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@thorwhalen
thorwhalen merged commit 9acdddb into master Oct 13, 2026
12 checks passed
@thorwhalen
thorwhalen deleted the fix/25-26-route-names-and-pin branch October 13, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant