Getting PointerToNowhere when migrating from RefResolver to referencing #1313
Unanswered
stefanofusai
asked this question in
Q&A
Replies: 1 comment 5 replies
-
I will try to find some time to look there, but But that's clearly wrong, as that document has one and only one key in it, it's |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying my best to migrate from RefResolver to the newer referencing lib but with no avail, and I even requested for help in the openapi-schema-validator repository: python-openapi/openapi-schema-validator#203 as I'm using jsonschema together with the openapi-schema-validator library.
I will report the issue I opened there, hoping that someone from your team can better assist me. Thank you for the help.
Dear team,
I've been trying my best to migrate my schema validation from RefResolver to the newer referencing library, but with no avail.
I would really appreciate some help or tips to point me in the right direction.
What is working for me, with RefResolver, is the following code:
I then tried to migrate to the referencing lib as mentioned here:
But with no success, as all I get are errors like:
jsonschema.exceptions._WrappedReferencingError: PointerToNowhere: '/components/schemas/Foo' does not exist within {'$ref': '#/components/schemas/Foo'}
What am I missing? Thank you for the help.
Beta Was this translation helpful? Give feedback.
All reactions