• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spec-first / connexion
94%

Build:
DEFAULT BRANCH: main
Repo Added 07 Feb 2022 05:46PM UTC
Files 54
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • 2019-async-exc-handler
  • 2085-add-packaging
  • add-tox-tests-posargs
  • bugfix/mypy-error
  • bugfix/openapi-injected-components-in-responses
  • bugfix/pipeline-typo
  • bugfix/swagger-ui-clone
  • chore/drop-unused-v2-dependencies
  • chore/remove-fern-sponsor
  • correct-pytest-args
  • dependabot/github_actions/dot-github/workflows/pypa/gh-action-pypi-publish-1.13.0
  • example-testclient
  • examples-swagger-semicolon
  • examples-swagger-semicolon-v2
  • feature/bump-python-versions
  • fix-jsonschema-refresolver-deprecation
  • fix-tox-sed-macos
  • fix/custom-security-type
  • fix/sphinxemoji-python312-minimal
  • patch-1
  • regenerate-poetry-lock-tox
  • update-sqlalchemy-example
  • upgr-httpx-min-ver
  • upgrade_deps
  • v2-add-py313
  • v2-add-tox-tests-posargs
  • v2-fix-2093-swagger-base-path
  • v2-keep-flask-2
  • v2-pkgutil-to-importlib

11 Apr 2026 04:44PM UTC coverage: 94.288% (-0.009%) from 94.297%
24286949312

push

github

web-flow
Replace deprecated `jsonschema.RefResolver` with `referencing.Registry` (#2023)

Fixes #1786 (which was closed prematurely as pointed out in
https://github.com/spec-first/connexion/issues/1786#issuecomment-2474017122)

Fixes the following deprecation warnings:
```
connexion/json_schema.py:18
  /home/randy/connexion/connexion/json_schema.py:18: 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.
    from jsonschema import Draft4Validator, RefResolver

connexion/json_schema.py:19
  /home/randy/connexion/connexion/json_schema.py:19: DeprecationWarning: jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
    from jsonschema.exceptions import RefResolutionError, ValidationError  # noqa
```

See also
https://python-jsonschema.readthedocs.io/en/latest/referencing/#migrating-from-refresolver

---------

Co-authored-by: Ruwann <ruwanlambrichts@gmail.com>

21 of 22 new or added lines in 1 file covered. (95.45%)

3681 of 3904 relevant lines covered (94.29%)

5.65 hits per line

Relevant lines Covered
Build:
Build:
3904 RELEVANT LINES 3681 COVERED LINES
5.65 HITS PER LINE
Source Files on main
  • Tree
  • List 54
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24286949312 main Replace deprecated `jsonschema.RefResolver` with `referencing.Registry` (#2023) Fixes #1786 (which was closed prematurely as pointed out in https://github.com/spec-first/connexion/issues/1786#issuecomment-2474017122) Fixes the following deprecat... push 11 Apr 2026 04:45PM UTC web-flow github
94.29
18474620285 main Restore `tests` argument to poetry invocation of pytest (#2092) Drop ineffective options section "[pytest]" push 13 Oct 2025 06:17PM UTC web-flow github
94.3
18465951418 main Remove Fern from sponsors (#2091) push 13 Oct 2025 12:36PM UTC web-flow github
94.3
18464185920 main Extend tox.ini with `testpaths` and {posargs} in poetry-pytest invocation (#2067) This allows limiting the scope of the test run, which can save much time. Run one test in one test environment: tox -e py39 -- tests/test_api.py::test... push 13 Oct 2025 11:25AM UTC web-flow github
94.3
18464164201 main Fix spec clone method and usage of raw vs resolved spec (#2089) This PR fixes an issue introduced in #2002, and the original issue #2002 was trying to address. The original issue was that a cloned spec did not have properly resolved references. ... push 13 Oct 2025 11:24AM UTC web-flow github
94.3
18463977501 main Fix Python 3.14 test suite (#2090) Typo introduced in https://github.com/spec-first/connexion/pull/2088, which was silently ignored by Github. push 13 Oct 2025 11:16AM UTC web-flow github
94.29
15530456052 main Remove semicolon from text/plain content type in example Swagger specs (#2022) The extra semicolon causes a `NonConformingResponseHeaders` exception when response validation is enabled for the Swagger spec in these examples. push 09 Jun 2025 08:41AM UTC web-flow github
94.35
15307794694 main Revise use of sed in-place option in tox.ini to support testing on MacOS (#2047) sed on Linux accepts an optional value with the `-i` flag, a file extension to use sed on MacOS requires a value with the `-i` flag, a file extension to use credit t... push 28 May 2025 06:31PM UTC web-flow github
94.35
15307361208 main Custom auth types in security_map (#1940) Allow definition of new auth types (not just schemes) to be passed in to security_map This is particularly motivated by wanting to support OpenIDConnect auth type, but was running into an error as it coul... push 28 May 2025 06:08PM UTC web-flow github
94.35
14824435045 main Specify skip for separate referencing package (#2049) Fixes the mypy error that is causing all pipelines to fail. Underlying reason seems to be that the `jsonschema` library was updated and factored out some code into a separate package. So updat... push 04 May 2025 07:23PM UTC web-flow github
94.42
See All Builds (732)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc