Add an integration similar to django/flask ``` +---------+ event +---------+ | API_GW +----------->+ lambda | +---------+ +---------+ ``` The event object is structured as here: https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html Example implementation: ```python def handler(event, context): from openapi_core.validation.request.validators import RequestValidator from openapi_core.contrib.aws import ApiGatewayEventOpenAPIRequest openapi_request = ApiGatewayEventOpenAPIRequest(event) validator = RequestValidator(spec) result = validator.validate(openapi_request) ```
Activity
jjmmolina commentedon Mar 21, 2022
Hi @jgroom33 , is this, finally, implemented?
paulcruse3 commentedon Mar 21, 2023
Yes, I too would like to know if this is completed and if show how to implement. Because I don't see it in the docs or in the code base
p1c2u commentedon Mar 22, 2023
I don't use apig+lambda much but I can try to implement this if it's a need for this.
paulcruse3 commentedon Mar 22, 2023
@p1c2u that would be awesome! 🙏🏽
alex-cook-finres commentedon Feb 23, 2024
This would be a great addition, but are there any clean workarounds for doing this right now?