You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
Environment
python 3.11
Flask==2.3.2
flask-restx==1.1.0
jsonschema==4.18.3
Additional Context
This is your last chance to provide any pertinent details, don't let this opportunity pass you by!
Yes, it will be. I just haven't had an opportunity to dig into it yet. The primary issue is that flask-restx generates swagger 2.0 type docs that require JSON types compatible with JSON-Schema Draft 4, which is really, really old now.
@peter-doggart It would be great to see some progress on this. I would also be willing to throw a few hours of work on this. Is there something I can do to help?
@ske99ey@vivodi Thanks for confirming so quickly, much appreciated.
I have merged everything and released v1.3.2 (not sure why the release pipeline decided all on its own to skip 1.3.1!). Please open a new issue and tag me if you find any problems.
Activity
miettal commentedon Jul 17, 2023
it seems jsonschema reference resolving function is sepalated from jsonschema package.
currently the function provided by referencing package.
https://github.com/python-jsonschema/referencing
peter-doggart commentedon Jul 18, 2023
Thanks for the heads-up. Will likely have to fix
jsonscheme==4.17.3until I can investigate the changes required to move to the new package.hbusul commentedon Sep 7, 2023
If no-one started working on this, I can start working on this. But I do not know how much time I can dedicate to this
kannanprasanna commentedon Dec 27, 2023
@peter-doggart , could you please let us know if this issue will be addressed in any of the upcoming releases?
peter-doggart commentedon Jan 3, 2024
Yes, it will be. I just haven't had an opportunity to dig into it yet. The primary issue is that flask-restx generates swagger 2.0 type docs that require JSON types compatible with JSON-Schema Draft 4, which is really, really old now.
ske99ey commentedon Jan 29, 2025
Is there any idea as to when this will be resolved? Seems the above PR was opened but it basically failed all the test actions 😢
golharam commentedon Feb 12, 2025
I'm seeing this too with the following configuration:
circulon commentedon May 8, 2025
I'm seeing it as well
same as @golharam
Any Idea when this might be addressed?
dsrink commentedon Aug 5, 2025
@peter-doggart It would be great to see some progress on this. I would also be willing to throw a few hours of work on this. Is there something I can do to help?
vivodi commentedon Sep 12, 2025
Any updates?
peter-doggart commentedon Sep 22, 2025
@ske99ey @golharam @circulon @dsrink @vivodi I've pushed a patch to a PR, a bit of extra handling is required to create the same schema in the new library: #639
I will try and get it merged and released this week, but would be great if any of you guys could check it out to make sure it's all working?
vivodi commentedon Sep 23, 2025
I tested it, everything works fine.
peter-doggart commentedon Sep 23, 2025
@ske99ey @vivodi Thanks for confirming so quickly, much appreciated.
I have merged everything and released v1.3.2 (not sure why the release pipeline decided all on its own to skip 1.3.1!). Please open a new issue and tag me if you find any problems.