[Bug]: Maximum recursing depth exceeded #868
Labels
area/unmarshalling
Indicates an issue on unmarshalling area.
kind/bug/confirmed
kind/bug
Indicates an issue
Actual Behavior
When using the openapi spec for Azure OpenAI with any supported body results in a
RecursionError: maximum recursion depth exceeded.
and the code execution stopsI had code as part of a fastapi, but kept running into this issue so I isolated the code in a small project for which the link is in the repro steps.
Also other specs for versions of the same API have this issue. All of them are valid when parsed on https://validator.swagger.io/
The list of all specs can be found here
the full error I get is posted below.
I hope this helps!
Expected Behavior
The validation to succeed when passing a valid body in the request.
Steps to Reproduce
I created a temporary repo with my code, so you can reproduce.
Please let me know if there is anything else you need. Thanks in advance!
OpenAPI Core Version
0.19.2
OpenAPI Core Integration
none but had the same issue with fastapi
Affected Area(s)
unmarschaling
References
N/A
Anything else we need to know?
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: