Repository navigation
v1.14.0
·
192 commits
to main
since this release
New Features
JSON Schema $id and $anchor Reference Resolution (#123)
Implements full JSON Schema $id and $anchor reference resolution for OpenAPI 3.1+ documents. This enables proper resolution of references that use $id URIs (absolute or relative) and $anchor fragment identifiers within JSON Schema definitions.
Capabilities
$idResolution: Resolve references to$idURIs within the same document or across external documents- Relative
$idHandling: Properly resolve relative$idURIs that build on parent base URIs $anchorResolution: Resolve fragment identifiers like#my-anchorto schemas with matching$anchorvalues- Nested Reference Rebasing: Correctly rebase nested references relative to their containing
$idscope
Implementation Details
Introduced a Schema Registry system that:
- Registers schemas with
$idand$anchorduring document population for O(1) lookups - Computes effective base URIs for each schema, properly handling relative
$idresolution - Resolves references via the registry when standard JSON Pointer resolution fails
- Maintains circular reference detection for registry-resolved references
No Breaking Changes
The new functionality is additive and fully backward compatible.
OpenAPI CLI v1.14.0
This release includes binaries for Linux, macOS, and Windows on both x86_64 and ARM64 architectures.
Installation
Download the appropriate binary for your platform from the assets below, extract it, and add it to your PATH.
Changes
Changelog
Features
Others
- 59985e9 build(deps): bump jsonschema/oas3/tests/testsuite (#122)
- c60b597 chore(cmd): update openapi dependency to latest main (#124)
Full Changelog: v1.13.1...v1.14.0
Released by GoReleaser.