Skip to content

jsonschema.RefResolver is deprecated #553

Description

@miettal

Code

import flask_restx

Expected Behavior

no error

Actual Behavior

output below warning.

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions