@usearazzo/resolver 1.0.1-alpha.2 → 1.0.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +1 -1
- package/dist/arazzo-resolver.browser.js +1062 -1031
- package/dist/arazzo-resolver.browser.min.js +1 -1
- package/package.json +13 -12
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [1.0.1-alpha.4](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.3...v1.0.1-alpha.4) (2026-09-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @usearazzo/resolver
|
|
9
|
+
|
|
10
|
+
## [1.0.1-alpha.3](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.2...v1.0.1-alpha.3) (2026-09-19)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **resolver:** bump apidom to 5.2.5 to rebase bundled schema $ref ([#167](https://github.com/usearazzo/arazzo-toolkit/issues/167)) ([189bdf5](https://github.com/usearazzo/arazzo-toolkit/commit/189bdf512ed74f6bc80e3fc4dc1f2b83049688e8)), closes [#158](https://github.com/usearazzo/arazzo-toolkit/issues/158)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- release @usearazzo/resolver ([#171](https://github.com/usearazzo/arazzo-toolkit/issues/171)) ([7fe7597](https://github.com/usearazzo/arazzo-toolkit/commit/7fe759757436416562c47d1d7f7dd6b26d945b05))
|
|
19
|
+
- **resolver:** add resolve and bundle and publish the package ([#157](https://github.com/usearazzo/arazzo-toolkit/issues/157)) ([eb84108](https://github.com/usearazzo/arazzo-toolkit/commit/eb8410866bac5569a86eebeda863d9a1feed6c87))
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
Arazzo and OpenAPI documents contain references, to other parts of the same document and to other documents. This package handles those references in three ways, all on [SpecLynx ApiDOM](https://github.com/speclynx/apidom):
|
|
22
22
|
|
|
23
|
-
- **Bundle.** `bundleArazzo` and `bundleOpenAPI` pull external documents into the entry document's components, producing a single *compound document* that still reads like the original: external JSON Schema resources land in `components.inputs` in Arazzo; Reference Object targets land in the matching `components` field and external Path Items in `components.pathItems` in OpenAPI.
|
|
23
|
+
- **Bundle.** `bundleArazzo` and `bundleOpenAPI` pull external documents into the entry document's components, producing a single *compound document* that still reads like the original: external JSON Schema resources land in `components.inputs` in Arazzo; Reference Object targets land in the matching `components` field and external Path Items in `components.pathItems` in OpenAPI. Reference Objects are repointed to the hoisted components. JSON Schema references stay as written and resolve through the `$id` each hoisted schema receives.
|
|
24
24
|
- **Dereference.** `dereferenceArazzo` and `dereferenceOpenAPI` replace every reference with the content it points at: JSON Schema References and Reusable Object references (`$components.*`) in Arazzo; Reference Objects, Path Item references, and schema references in OpenAPI. The result is one self-contained directed graph: a Directed Acyclic Graph (DAG), or a Directed Cyclic Graph (DCG) when references form cycles. Arazzo source descriptions can be dereferenced along with the entry document.
|
|
25
25
|
- **Resolve.** `resolveArazzo` and `resolveOpenAPI` fetch the document and every external document its references reach, and return the `ReferenceSet` listing them all, parsed. Nothing is replaced; this is the reference graph itself.
|
|
26
26
|
|