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
The script spec_stats.py has deprecation warnings when using the jsonschema.RefResolver class, which will be removed in the future.
Expected Behavior
This deprecation warning should not appear when running the script
Current Behavior
Running the script shows:
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.
ref_resolver: jsonschema.RefResolver
Possible Solution
Update script logic to not need this class anymore
Steps to Reproduce
Run the script passing any openapi.yml file as an argument
Context (Environment)
This issue prevents pushes to remote that have changes to this script.
The text was updated successfully, but these errors were encountered:
🐜 Bug Report
The script
spec_stats.py
has deprecation warnings when using thejsonschema.RefResolver
class, which will be removed in the future.Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
openapi.yml
file as an argumentContext (Environment)
The text was updated successfully, but these errors were encountered: