Skip to content

Include shape name in REQUEST_URI_NOT_FOUND validation error message#6789

Open
RanVaknin wants to merge 1 commit intomasterfrom
rvaknin/fix-codegen-locationUri
Open

Include shape name in REQUEST_URI_NOT_FOUND validation error message#6789
RanVaknin wants to merge 1 commit intomasterfrom
rvaknin/fix-codegen-locationUri

Conversation

@RanVaknin
Copy link
Contributor

The REQUEST_URI_NOT_FOUND validation error in AddShapes.findRequestUri was printing Optional.empty instead of the actual shape name, making it impossible to identify which shape caused the failure.

This can occur when a shape has a member with "location": "uri" but isn't directly referenced as an operation's input. The fix resolves the shape name from the model and includes it in the error message.

@RanVaknin RanVaknin requested a review from a team as a code owner March 12, 2026 21:36
@sonarqubecloud
Copy link

@RanVaknin RanVaknin added changelog-not-required Indicate changelog entry is not required for a specific PR no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-not-required Indicate changelog entry is not required for a specific PR no-api-surface-area-change Indicate there is no API surface area change and thus API surface area review is not required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant