@jentic/arazzo-resolver 1.0.0-alpha.5 → 1.0.0-alpha.7
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 +12 -0
- package/README.md +6 -6
- package/dist/jentic-arazzo-resolver.browser.js +68982 -64708
- package/dist/jentic-arazzo-resolver.browser.min.js +1 -1
- package/package.json +7 -7
- package/src/dereference.cjs +4 -4
- package/src/dereference.mjs +4 -4
- package/types/arazzo-resolver.d.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.7](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2026-02-04)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **parser:** add support for parsing OpenAPI Documents ([#35](https://github.com/jentic/jentic-arazzo-tools/issues/35)) ([4c2615e](https://github.com/jentic/jentic-arazzo-tools/commit/4c2615e07c3b74ea7fe74b91b977c8c7123a2188))
|
|
11
|
+
|
|
12
|
+
# [1.0.0-alpha.6](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2026-02-04)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- **parser:** add support for parsing entire Arazzo Description ([#34](https://github.com/jentic/jentic-arazzo-tools/issues/34)) ([44b2bda](https://github.com/jentic/jentic-arazzo-tools/commit/44b2bda1c7449e1db8145af1dea457f2e09a465b))
|
|
17
|
+
|
|
6
18
|
# [1.0.0-alpha.5](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2026-01-31)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -51,11 +51,11 @@ const parseResult = await dereference('https://example.com/arazzo.yaml');
|
|
|
51
51
|
When you already have a parsed Arazzo Document (e.g., from `@jentic/arazzo-parser`), you can dereference the element directly:
|
|
52
52
|
|
|
53
53
|
```js
|
|
54
|
-
import {
|
|
54
|
+
import { parseArazzo } from '@jentic/arazzo-parser';
|
|
55
55
|
import { dereferenceElement } from '@jentic/arazzo-resolver';
|
|
56
56
|
|
|
57
57
|
// Parse first, then dereference
|
|
58
|
-
const parseResult = await
|
|
58
|
+
const parseResult = await parseArazzo('/path/to/arazzo.json');
|
|
59
59
|
const dereferenced = await dereferenceElement(parseResult);
|
|
60
60
|
```
|
|
61
61
|
|
|
@@ -64,10 +64,10 @@ const dereferenced = await dereferenceElement(parseResult);
|
|
|
64
64
|
When dereferencing a ParseResultElement that was parsed from inline content (string or object), you must provide a `baseURI`:
|
|
65
65
|
|
|
66
66
|
```js
|
|
67
|
-
import {
|
|
67
|
+
import { parseArazzo } from '@jentic/arazzo-parser';
|
|
68
68
|
import { dereferenceElement } from '@jentic/arazzo-resolver';
|
|
69
69
|
|
|
70
|
-
const parseResult = await
|
|
70
|
+
const parseResult = await parseArazzo({ arazzo: '1.0.1', ... });
|
|
71
71
|
const dereferenced = await dereferenceElement(parseResult, {
|
|
72
72
|
resolve: { baseURI: 'https://example.com/arazzo.json' },
|
|
73
73
|
});
|
|
@@ -78,10 +78,10 @@ const dereferenced = await dereferenceElement(parseResult, {
|
|
|
78
78
|
You can dereference individual child elements (e.g., a specific workflow) by providing the parent parseResult in options:
|
|
79
79
|
|
|
80
80
|
```js
|
|
81
|
-
import {
|
|
81
|
+
import { parseArazzo } from '@jentic/arazzo-parser';
|
|
82
82
|
import { dereferenceElement } from '@jentic/arazzo-resolver';
|
|
83
83
|
|
|
84
|
-
const parseResult = await
|
|
84
|
+
const parseResult = await parseArazzo('/path/to/arazzo.json');
|
|
85
85
|
const workflow = parseResult.api.workflows.get(0);
|
|
86
86
|
|
|
87
87
|
const dereferencedWorkflow = await dereferenceElement(workflow, {
|