@swagger-api/apidom-parser-adapter-asyncapi-json-3 1.0.0-rc.4 → 1.0.0
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,13 @@
|
|
|
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](https://github.com/swagger-api/apidom/compare/v1.0.0-rc.4...v1.0.0) (2025-12-03)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **apidom-ns-asyncapi-3:** disable resolving references ([#5058](https://github.com/swagger-api/apidom/issues/5058)) ([63f7261](https://github.com/swagger-api/apidom/commit/63f7261ad1745eade2d4ad2aa5553c62de9c1908))
|
|
11
|
+
- **apidom-reference:** parser for unit tests ([#5056](https://github.com/swagger-api/apidom/issues/5056)) ([9fa445c](https://github.com/swagger-api/apidom/commit/9fa445cc8bb85696c13ba83498a254afcda20ba3))
|
|
12
|
+
|
|
6
13
|
# [1.0.0-rc.4](https://github.com/swagger-api/apidom/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2025-11-25)
|
|
7
14
|
|
|
8
15
|
### Features
|
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
`@swagger-api/apidom-parser-adapter-asyncapi-json-3` is a parser adapter for following AsyncAPI specification versions defined in [JSON format](https://www.json.org/json-en.html):
|
|
4
4
|
|
|
5
5
|
- [AsyncAPI 3.0.0 specification](https://github.com/asyncapi/spec/blob/v3.0.0/spec/asyncapi.md)
|
|
6
|
-
- [AsyncAPI 3.0.1 specification](https://github.com/asyncapi/spec/blob/v3.0.1/spec/asyncapi.md)
|
|
7
6
|
|
|
8
7
|
Under the hood this adapter uses [@swagger-api/apidom-parser-adapter-json](https://github.com/swagger-api/apidom/tree/main/packages/apidom-parser-adapter-json)
|
|
9
8
|
to parse a source string into generic ApiDOM in [base ApiDOM namespace](https://github.com/swagger-api/apidom/tree/main/packages/apidom-core#base-namespace)
|
|
@@ -31,8 +30,6 @@ Defines list of media types that this parser adapter recognizes.
|
|
|
31
30
|
[
|
|
32
31
|
'application/vnd.aai.asyncapi;version=3.0.0',
|
|
33
32
|
'application/vnd.aai.asyncapi+json;version=3.0.0',
|
|
34
|
-
'application/vnd.aai.asyncapi;version=3.0.1',
|
|
35
|
-
'application/vnd.aai.asyncapi+json;version=3.0.1',
|
|
36
33
|
]
|
|
37
34
|
```
|
|
38
35
|
|
|
@@ -70,7 +67,6 @@ import { parse, detect } from '@swagger-api/apidom-parser-adapter-asyncapi-json-
|
|
|
70
67
|
|
|
71
68
|
// detecting
|
|
72
69
|
await detect('{"asyncapi": "3.0.0"}'); // => true
|
|
73
|
-
await detect('{"asyncapi": "3.0.1"}'); // => true
|
|
74
70
|
await detect('test'); // => false
|
|
75
71
|
|
|
76
72
|
// parsing
|