-
Notifications
You must be signed in to change notification settings - Fork 418
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
feat(event_handler): add route-level custom response validation in OpenAPI utility #6341
Open
amin-farjadi
wants to merge
26
commits into
aws-powertools:develop
Choose a base branch
from
amin-farjadi:feature/route-custom-response-validation
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover?