@speclynx/apidom-parser-adapter-arazzo-yaml-1 5.1.1 → 5.2.2

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 CHANGED
@@ -3,6 +3,20 @@
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
+ ## [5.2.2](https://github.com/speclynx/apidom/compare/v5.2.1...v5.2.2) (2026-09-03)
7
+
8
+ **Note:** Version bump only for package @speclynx/apidom-parser-adapter-arazzo-yaml-1
9
+
10
+ ## [5.2.1](https://github.com/speclynx/apidom/compare/v5.2.0...v5.2.1) (2026-08-29)
11
+
12
+ **Note:** Version bump only for package @speclynx/apidom-parser-adapter-arazzo-yaml-1
13
+
14
+ # [5.2.0](https://github.com/speclynx/apidom/compare/v5.1.1...v5.2.0) (2026-08-29)
15
+
16
+ ### Features
17
+
18
+ - **parser-adapter:** add support for Arazzo 1.1.0 ([#499](https://github.com/speclynx/apidom/issues/499)) ([fff3898](https://github.com/speclynx/apidom/commit/fff389825e01daa22e04f7548ea1b05d44beb452)), closes [#297](https://github.com/speclynx/apidom/issues/297)
19
+
6
20
  ## [5.1.1](https://github.com/speclynx/apidom/compare/v5.1.0...v5.1.1) (2026-08-19)
7
21
 
8
22
  ### Bug Fixes
package/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # @speclynx/apidom-parser-adapter-arazzo-yaml-1
2
2
 
3
- `@speclynx/apidom-parser-adapter-arazzo-yaml-1-0` is a parser adapter for the [Arazzo 1.0.1 specification](https://spec.openapis.org/arazzo/latest.html#version-1-0-1) in [YAML format](https://yaml.org/spec/1.2/spec.html).
3
+ `@speclynx/apidom-parser-adapter-arazzo-yaml-1` is a parser adapter for the **Arazzo 1.x.y specification** in [YAML format](https://yaml.org/spec/1.2/spec.html) supporting the following versions:
4
+
5
+ - [Arazzo 1.0.0](https://spec.openapis.org/arazzo/v1.0.0.html)
6
+ - [Arazzo 1.0.1](https://spec.openapis.org/arazzo/v1.0.1.html)
7
+ - [Arazzo 1.1.0](https://spec.openapis.org/arazzo/v1.1.0.html)
8
+
4
9
  Under the hood this adapter uses [apidom-parser-adapter-yaml-1-2](https://github.com/speclynx/apidom/tree/main/packages/apidom-parser-adapter-yaml-1-2)
5
10
  to parse a source string into generic ApiDOM in [base ApiDOM namespace](https://github.com/speclynx/apidom/tree/main/packages/apidom#base-namespace)
6
11
  which is then refracted with [Arazzo 1.x.y Refractors](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-arazzo-1#refractors).
@@ -28,16 +33,18 @@ Defines list of media types that this parser adapter recognizes.
28
33
  'application/vnd.oai.workflows+yaml;version=1.0.0',
29
34
  'application/vnd.oai.workflows;version=1.0.1',
30
35
  'application/vnd.oai.workflows+yaml;version=1.0.1',
36
+ 'application/vnd.oai.workflows;version=1.1.0',
37
+ 'application/vnd.oai.workflows+yaml;version=1.1.0',
31
38
  ]
32
39
  ```
33
40
 
34
41
  ### detect
35
42
 
36
- [Detection](https://github.com/speclynx/apidom/blob/main/packages/apidom-parser-adapter-arazzo-json-1/src/adapter.ts#L13) is based on a regular expression matching required Arazzo 1.0.0 specification symbols in YAML format.
43
+ [Detection](https://github.com/speclynx/apidom/blob/main/packages/apidom-parser-adapter-arazzo-yaml-1/src/adapter.ts#L17) is based on a regular expression matching required Arazzo 1.x.y specification symbols in YAML format.
37
44
 
38
45
  ### namespace
39
46
 
40
- This adapter exposes an instance of [Arazzo 1.x.y ApiDOM namespace](https://github.com/speclynx/apidom/blob/main/packages/apidom-ns-arazzo-1/README.md#arazzo-101-namespace).
47
+ This adapter exposes an instance of [Arazzo 1.x.y ApiDOM namespace](https://github.com/speclynx/apidom/blob/main/packages/apidom-ns-arazzo-1/README.md#arazzo-110-namespace).
41
48
 
42
49
  ### parse
43
50
 
@@ -64,11 +71,11 @@ with [supported media types](#mediatypes).
64
71
  import { parse, detect } from '@speclynx/apidom-parser-adapter-arazzo-yaml-1';
65
72
 
66
73
  // detecting
67
- await detect('arazzo: 1.0.0'); // => true
74
+ await detect('arazzo: 1.1.0'); // => true
68
75
  await detect('test'); // => false
69
76
 
70
77
  // parsing
71
- const parseResult = await parse('arazzo: 1.0.0', { sourceMap: true });
78
+ const parseResult = await parse('arazzo: 1.1.0', { sourceMap: true });
72
79
  ```
73
80
 
74
81
  ### Indirect usage
@@ -83,5 +90,5 @@ const parser = new ApiDOMParser();
83
90
 
84
91
  parser.use(arazzoYamlAdapter);
85
92
 
86
- const parseResult = await parser.parse('arazzo: 1.0.0', { mediaType: arazzoYamlAdapter.mediaTypes.latest('yaml') });
93
+ const parseResult = await parser.parse('arazzo: 1.1.0', { mediaType: arazzoYamlAdapter.mediaTypes.latest('yaml') });
87
94
  ```