-
json-schema-diff v1.2.0
Stablereleased this
2026-10-16 19:57:56 -07:00 | 24 commits to master since this release- OpenAPI 3.x and Swagger 2.0 input: paths, operations, parameters, request bodies and responses are compared,
with request schemas judged from the client's side and response schemas from the consumer's side. oneOf/anyOf/allOf/not,const,nullable,dependentRequired/dependencies, exclusive bounds and
min/maxProperties; composition variants are paired by$refname, title, const or type so changes inside
them are reported.--markdownchangelog output.- Exit codes now follow the shared convention: BREAKING changes exit 1 by default (
--fail-on, default
breaking;neverfor report-only). 1.x exited 0 unless--fail-on-breakingwas given. - MIT license and pay-what-you-want sections in the README.
- Installable as a package:
pipx install git+https://git.canutethegreat.com/CanuteTheGreat/json-schema-diff.git
puts ajson-schema-diffcommand on PATH (pyproject.toml, MIT license metadata). --versionflag.- Exit codes follow the shared convention: 0 = clean, 1 = findings at/above the gate, 2 = error or bad usage.
- Every tag now publishes a Forgejo release with this changelog, the wheel, the sdist and SHA256SUMS.
- CI installs the package with pip in a clean venv and checks
--version/--helpon every push.
Install
pipx install git+https://git.canutethegreat.com/CanuteTheGreat/json-schema-diff.git@v1.2.0 # or the wheel attached to this release: pipx install https://git.canutethegreat.com/CanuteTheGreat/json-schema-diff/releases/download/v1.2.0/json_schema_diff-1.2.0-py3-none-any.whl # or the single file (stdlib-only Python 3): curl -fsSLO https://git.canutethegreat.com/CanuteTheGreat/json-schema-diff/releases/download/v1.2.0/schema_diff.pySHA-256
895990c2eb96f5241d7e68805471f1d858b1b216516c1232f1f446415a27b48f schema_diff.py 62047b69927fb885b9fc996c6a5ad69f588a91a150a4aac50ac8bb73283c6ab3 json_schema_diff-1.2.0-py3-none-any.whl c88bba49a2ca4b796418ab5cb27e23337b065881a0c23dbd080a4f876a3f1785 json_schema_diff-1.2.0.tar.gzDownloads
-
Source code (ZIP)
4 downloads
-
Source code (TAR.GZ)
3 downloads
- OpenAPI 3.x and Swagger 2.0 input: paths, operations, parameters, request bodies and responses are compared,