openapi-core icon indicating copy to clipboard operation
openapi-core copied to clipboard

[Feature]: Support for Azure Function HttpRequest object

Open rbm-radius opened this issue 1 year ago • 1 comments

Suggested Behavior

Can unmarshal_request and related functions be extended to support azure.functions.HttpRequest objects, the same way requests or flask request objects are supported?

Why is this needed?

When deploying an OpenAPI-compliant app as an Azure function, it is convenient to be able to validate request payloads locally.

References

No response

Would you like to implement a feature?

Yes

rbm-radius avatar Jan 12 '24 03:01 rbm-radius

It would be something similar to AWS API Gateway with Amazon Lambda https://github.com/python-openapi/openapi-core/pull/545

p1c2u avatar Feb 11 '24 10:02 p1c2u