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
Add body validation for "multipart/form-data" requests #44
Comments
Initial work is there, but PHP does not let us to access raw HTTP request body, instead we can only access $_POST/$_FILES or |
what about reading https://php.net/manual/en/wrappers.php.php
|
Well, it would be awesome, but: |
Currently, the body of the request is validated as a string:
openapi-psr7-validator/src/PSR7/Validators/Body.php
Line 48 in c6d1260
This does not work with schema validation at the moment. The problem is that we CAN specify multipart body format with a schema.
Review and decide how to change that.
Refs:
The text was updated successfully, but these errors were encountered: