@jentic/arazzo-parser 1.0.0-alpha.10 → 1.0.0-alpha.12
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 +10 -0
- package/README.md +22 -22
- package/dist/jentic-arazzo-parser.browser.js +256 -166
- package/dist/jentic-arazzo-parser.browser.min.js +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.12](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) (2026-02-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @jentic/arazzo-parser
|
|
9
|
+
|
|
10
|
+
# [1.0.0-alpha.11](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) (2026-02-10)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- add initial validator implementation ([#60](https://github.com/jentic/jentic-arazzo-tools/issues/60)) ([4e9a73d](https://github.com/jentic/jentic-arazzo-tools/commit/4e9a73dd5ca2b2b48ebc32de6b02c93524fabccf))
|
|
15
|
+
|
|
6
16
|
# [1.0.0-alpha.10](https://github.com/jentic/jentic-arazzo-tools/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2026-02-08)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
`@jentic/arazzo-parser` is a parser for [Arazzo Specification](https://spec.openapis.org/arazzo/latest.html) documents.
|
|
4
4
|
It produces [SpecLynx ApiDOM](https://github.com/speclynx/apidom) data model using the [Arazzo 1.x namespace](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-arazzo-1#readme).
|
|
5
5
|
|
|
6
|
+
**Supported Arazzo versions:**
|
|
7
|
+
- [Arazzo 1.0.0](https://spec.openapis.org/arazzo/v1.0.0)
|
|
8
|
+
- [Arazzo 1.0.1](https://spec.openapis.org/arazzo/v1.0.1)
|
|
9
|
+
|
|
10
|
+
**Supported OpenAPI versions (for source descriptions):**
|
|
11
|
+
- [OpenAPI 2.0](https://spec.openapis.org/oas/v2.0)
|
|
12
|
+
- [OpenAPI 3.0.x](https://spec.openapis.org/oas/v3.0.4)
|
|
13
|
+
- [OpenAPI 3.1.x](https://spec.openapis.org/oas/v3.1.2)
|
|
14
|
+
|
|
6
15
|
## Installation
|
|
7
16
|
|
|
8
17
|
You can install this package via [npm](https://npmjs.org/) CLI by running the following command:
|
|
@@ -289,27 +298,18 @@ Source descriptions are parsed into their appropriate SpecLynx ApiDOM namespace
|
|
|
289
298
|
- [Arazzo 1.x](https://spec.openapis.org/arazzo/latest.html) → [@speclynx/apidom-ns-arazzo-1](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-arazzo-1)
|
|
290
299
|
- [OpenAPI 2.0 (Swagger)](https://spec.openapis.org/oas/v2.0) → [@speclynx/apidom-ns-openapi-2](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-openapi-2)
|
|
291
300
|
- [OpenAPI 3.0.x](https://spec.openapis.org/oas/v3.0.4) → [@speclynx/apidom-ns-openapi-3-0](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-openapi-3-0)
|
|
292
|
-
- [OpenAPI 3.1.x](https://spec.openapis.org/oas/v3.1.
|
|
293
|
-
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
style PR fill:#e7f1ff,stroke:#0366d6,stroke-width:2px
|
|
307
|
-
style SD1 fill:#f6f8fa,stroke:#586069
|
|
308
|
-
style SD2 fill:#f6f8fa,stroke:#586069
|
|
309
|
-
style API fill:#d4edda,stroke:#28a745
|
|
310
|
-
style SD1_API fill:#d4edda,stroke:#28a745
|
|
311
|
-
style SD2_ERR fill:#f8d7da,stroke:#dc3545
|
|
312
|
-
style SD2_WARN fill:#fff3cd,stroke:#ffc107
|
|
301
|
+
- [OpenAPI 3.1.x](https://spec.openapis.org/oas/v3.1.2) → [@speclynx/apidom-ns-openapi-3-1](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-openapi-3-1)
|
|
302
|
+
|
|
303
|
+
```
|
|
304
|
+
ParseResultElement
|
|
305
|
+
├── .api: ArazzoSpecification1Element
|
|
306
|
+
│
|
|
307
|
+
├── ParseResultElement (petStoreApi) ─┐
|
|
308
|
+
│ └── .api: OpenApi3_1Element │ source
|
|
309
|
+
│ │ descriptions
|
|
310
|
+
└── ParseResultElement (legacyApi) ─┘
|
|
311
|
+
├── .errors
|
|
312
|
+
└── .warnings
|
|
313
313
|
```
|
|
314
314
|
|
|
315
315
|
```js
|
|
@@ -479,7 +479,7 @@ Documents are parsed into their appropriate SpecLynx ApiDOM namespace data model
|
|
|
479
479
|
|
|
480
480
|
- [OpenAPI 2.0 (Swagger)](https://spec.openapis.org/oas/v2.0) → [@speclynx/apidom-ns-openapi-2](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-openapi-2)
|
|
481
481
|
- [OpenAPI 3.0.x](https://spec.openapis.org/oas/v3.0.4) → [@speclynx/apidom-ns-openapi-3-0](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-openapi-3-0)
|
|
482
|
-
- [OpenAPI 3.1.x](https://spec.openapis.org/oas/v3.1.
|
|
482
|
+
- [OpenAPI 3.1.x](https://spec.openapis.org/oas/v3.1.2) → [@speclynx/apidom-ns-openapi-3-1](https://github.com/speclynx/apidom/tree/main/packages/apidom-ns-openapi-3-1)
|
|
483
483
|
|
|
484
484
|
```js
|
|
485
485
|
import { parseOpenAPI } from '@jentic/arazzo-parser';
|