-
Notifications
You must be signed in to change notification settings - Fork 406
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 OpenAPI extensions #4703
feat(event_handler): add OpenAPI extensions #4703
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #4703 +/- ##
===========================================
- Coverage 96.60% 96.47% -0.13%
===========================================
Files 223 223
Lines 10757 10795 +38
Branches 2001 2012 +11
===========================================
+ Hits 10392 10415 +23
- Misses 259 273 +14
- Partials 106 107 +1 ☔ View full report in Codecov by Sentry. |
Things missing in this PR:
|
We had a meeting this morning and agreed with the current implementation. |
Hey @heitorlessa and @sthulb this PR is ready to review. |
Hey @sthulb, can you please review again? |
b8b4632
into
aws-powertools:develop
Issue number: #4035
Summary
OpenAPI Extensions support in Powertools Python
Abstract
OpenAPI, the industry-standard for describing RESTful APIs, supports extensions that allow developers to expand its functionality and tailor it to their specific needs. To enhance the compatibility of the Powertools for AWS Lambda (Python) with Amazon API Gateway, it would be beneficial to incorporate support for these OpenAPI extensions. This would enable customers to leverage the full capabilities of the API Gateway and seamlessly integrate their Lambda functions with the API Gateway.
A brief description about the OpenAPI schema
The OpenAPI scheme has the following levels and we can add extensions to each of them:
components
section and reference them using$ref
.Amazon API Gateway support for OpenAPI extensions
The Amazon API Gateway extensions support the AWS-specific authorization and API Gateway-specific API integrations for REST APIs and HTTP APIs.
After an exhaustive effort to map all types of integrations that API Gateway supports, we have the following table:
Powertools implementation
The experience we aim to provide is something like this:
User experience
Described above
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change?
RFC issue number:
Checklist:
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.