Open
Description
Suggested Behavior
In the depreciated version there was:
from openapi_core import openapi_request_validator
#allows u to iter through all the errors found, in this way, you could use the error information for reporting and such
openapi_request_validator.iter_errors
Existing fuctionality:
validate_request(request=request, spec=spec)
Only raises errors, no way of iterating through them
Why is this needed?
Errors do not need to be raised necessarily, there are cases when you would want to iterate and do actions for certain errors, gather information and so on
References
No response
Would you like to implement a feature?
No