Closed sergei-maertens closed 2 years ago
Nice catch @sergei-maertens, thanks a lot! Tbh, I had some ideas on re-writing those imports in the next release since it's kinda magic stuff. Your solution is much faster, could you please open the PR for that?
Describe the bug
It seems that yesterday
openapi_spec_validator
0.5.0 was released, which dropped thevalidate_v
-aliases that this library imports.Downgrading to < 0.5.0 works - you might want to update your dependencies or fix the imports.
To Reproduce
pip install openapi3-parser
python
to open an interactive shellTry to parse an API spec:
Expected behavior
Parsing succeeds without errors.
System details (please complete the following information):