You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Path(alias=...) emits the Python argument name instead of the path template name regardless of whether alias is a closer match the path parameter #8803
Path(alias="camelId") on this route /P/<camelId> should produce an OpenAPI path parameter named camelId in order to match the {camelId} in the path template.
Current Behaviour
As of 3.39.0 the parameter is named after the Python argument (snake_id), not the alias. The path template stays /P/{camelId}, so the parameter name no longer matches it.
This appears to come from #8630 (closing #8583 , item 5), which says the emitted parameter name should match the path template. However in this scenario where the alias matches the template but the argument name doesn't it has the opposite effect.
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out our GitHub Discussions: Join the conversation
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Activity
boring-cyborg commentedon Nov 13, 2026
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link
powertools-for-aws-oss-automation commentedon Nov 13, 2026
Thanks for opening your first issue here! We'll come back to you as soon as we can.
In the meantime, check out our GitHub Discussions: Join the conversation
leandrodamascena commentedon Nov 14, 2026
Thanks @jurique, confirmed, and it's a regression from #8630 in 3.39.0. Taking it for 3.41.0.
powertools-for-aws-oss-automation commentedon Nov 14, 2026
Warning
This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.