python-openapi/openapi-core

[Bug]: Referencing other files causes resolver errors.

Wim-De-Clercq opened this issue · 1 comments

Actual Behavior

When writing references to other files like $ref: './subfolder/schemas.yaml#/User', subsequent references in that file do not resolve proplery.

Expected Behavior

References to other files to work

Steps to Reproduce

See PR with test case.

OpenAPI Core Version

0.19.2

OpenAPI Core Integration

N/A

Affected Area(s)

validation

References

PR: TODO

Anything else we need to know?

No response

Would you like to implement a fix?

Yes

Edit: I see this just got reported last week. #852