Closed Wim-De-Clercq closed 2 months ago
Hi @Wim-De-Clercq do you need the fix to be released soon?
That would be nice :).
But also, if it takes a couple days I don't mind either.
I've just tested the 0.19.4 release in my project. All my tests are passing. So it looks good :heavy_check_mark:
Actual Behavior
V30ResponseUnmarshaller.unmarshal raises jsonschema.exceptions._WrappedReferencingError when the response schema defined in a different file includes $ref that refers to a schema in another file.
Expected Behavior
The unmarshaller should not raise the error for $ref.
Steps to Reproduce
openapi.yaml
paths/books.yaml
schemas/book.yaml
validate.py
OpenAPI Core Version
0.19.3
OpenAPI Core Integration
NA
Affected Area(s)
unmarshalling, schema
References
Almost a full copy of the previous issue. https://github.com/python-openapi/openapi-core/issues/852
Anything else we need to know?
Similar fix to be done here: https://github.com/python-openapi/openapi-core/blob/2e98965c219abffefb3419f54cc25b5153de4b9f/openapi_core/validation/schemas/validators.py#L38-L42
Would you like to implement a fix?
Yes