-
Notifications
You must be signed in to change notification settings - Fork 421
docs(apigateway): add all resolvers in testing your code section for accuracy #1688
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
docs(apigateway): add all resolvers in testing your code section for accuracy #1688
Conversation
Signed-off-by: Bruno Souza <[email protected]>
Signed-off-by: Bruno Souza <[email protected]>
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
@bnsouza could you review the changes I've made just in case I missed anything? Changes:
|
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.
It's perfect! If you don't mind, can I insert as a comment the URL from AWS Docs with full examples of the events payload?
I had to search because when I tested with query parameters, I made it wrong! 🤣
Signed-off-by: Bruno Souza <[email protected]>
Signed-off-by: Bruno Souza <[email protected]>
Signed-off-by: Bruno Souza <[email protected]>
Signed-off-by: Bruno Souza <[email protected]>
I made it! But if you think it's better remove or change, it's ok! Abraços! |
np at all! For future reference, we add all variants of the payloads we encounter under "test/events" - we found docs not to be a reliable source at times |
Merging now - thank you again! Nice touch on adding the payload link as a comment! |
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience! |
* develop: (155 commits) chore: apigw test event wrongly set with base64 chore(deps-dev): bump types-requests from 2.28.11.3 to 2.28.11.4 (aws-powertools#1701) update changelog with latest changes feat(apigateway): multiple exceptions in exception_handler (aws-powertools#1707) chore(deps-dev): bump mypy-boto3-logs from 1.25.0 to 1.26.3 (aws-powertools#1702) update changelog with latest changes chore(ci): revert custom hw for E2E due to lack of hw update changelog with latest changes docs: project name consistency chore(ci): prevent dependabot updates to trigger E2E chore(ci): use new custom hw for E2E chore(ci): limit to src only to prevent dependabot failures update changelog with latest changes docs(examples): linting unnecessary whitespace chore(deps-dev): bump pytest-xdist from 2.5.0 to 3.0.2 (aws-powertools#1655) update changelog with latest changes docs(apigateway): add all resolvers in testing your code section for accuracy (aws-powertools#1688) chore(deps-dev): bump mkdocs-material from 8.5.7 to 8.5.9 (aws-powertools#1697) update changelog with latest changes docs(homepage): update default value for `POWERTOOLS_DEV` (aws-powertools#1695) ...
Issue number: #1686
Summary
Changes
I've changed the example for testing API Gateway. Changed the
examples/event_handler_rest/src/assert_http_response.py
anddocs/core/event_handler/api_gateway.md
.Checklist
If your change doesn't seem to apply, please leave them unchecked.
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.
View rendered docs/core/event_handler/api_gateway.md