-
Notifications
You must be signed in to change notification settings - Fork 429
feat(event_handler): add route-level custom response validation in OpenAPI utility #6341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
leandrodamascena
merged 32 commits into
aws-powertools:develop
from
amin-farjadi:feature/route-custom-response-validation
Apr 10, 2025
Merged
Changes from 25 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
85321d1
feat(api-gateway-resolver): Add option for custom response validation…
aa7cf6f
feat(docs): Added doc for custom response validation error responses.
cb7fd6d
feat(unit-test): Add tests for custom response validation error.
1228632
fix: Formatting.
b95d521
fix(unit-test): fix failed CI.
f849930
feat(unit-test): add tests for incorrect types and invalid configs
bafd19c
refactor: rename response_validation_error_http_status to response_va…
amin-farjadi 9b09bb7
refactor(tests): move unit tests into openapi_validation functional t…
amin-farjadi bbbd989
feat: add route-specific custom response validation and tests
amin-farjadi ce7be15
fix: except Route implementation
amin-farjadi 95d9aee
fix: put custom_response_validation_http_code before middleware
amin-farjadi 210b765
feat: route's custom response validation must take precedence over ap…
amin-farjadi 575e713
feat: added more tests.
amin-farjadi 440a3f4
refactor: improved error messagee and tests' descriptions.
amin-farjadi 249554f
feat: updated docs.
amin-farjadi d0eadf0
move veritifcation method of route custom http code to BaseRouter.
amin-farjadi 2316637
Merge branch 'develop' into feature/route-custom-response-validation
amin-farjadi 59bb4aa
fix: add validate function for route http code to APIGatewayResolver …
amin-farjadi 020c973
feat: add custom_response_validation_http_code to the routes of Bedrock
amin-farjadi 5ea8ffa
fix: make mypy happy
amin-farjadi ac5dbf4
Merge branch 'develop' into feature/route-custom-response-validation
amin-farjadi d23be99
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena ec113cb
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena 5794c27
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena 3e5fb6e
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena 6d00446
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena fca7db0
fix: address comments
amin-farjadi afbda76
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena 2d7a73d
fix(openapi): add response for response validation error and definiti…
amin-farjadi 1686c5c
Merge branch 'develop' into feature/route-custom-response-validation
leandrodamascena ba7d6c7
minor changes
leandrodamascena 9e04a63
minor changes
leandrodamascena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.