@swagger-api/apidom-parser-adapter-openapi-json-3-1 0.80.0 → 0.82.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 +10 -0
- package/README.md +4 -4
- package/package.json +5 -5
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
|
+
# [0.82.0](https://github.com/swagger-api/apidom/compare/v0.81.0...v0.82.0) (2023-11-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-1
|
|
9
|
+
|
|
10
|
+
# [0.81.0](https://github.com/swagger-api/apidom/compare/v0.80.0...v0.81.0) (2023-10-30)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- add OpenAPI 2.0 JSON parser adapter ([#3333](https://github.com/swagger-api/apidom/issues/3333)) ([17d4ee1](https://github.com/swagger-api/apidom/commit/17d4ee1a6beadc4bb823603051b8f41c27bc066d)), closes [#3099](https://github.com/swagger-api/apidom/issues/3099)
|
|
15
|
+
|
|
6
16
|
# [0.80.0](https://github.com/swagger-api/apidom/compare/v0.79.0...v0.80.0) (2023-10-26)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-json-3-1
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# @swagger-api/apidom-parser-adapter-openapi-json-3-1
|
|
2
2
|
|
|
3
|
-
`@swagger-api/apidom-parser-adapter-openapi-json-3-1` is a parser adapter for the [
|
|
3
|
+
`@swagger-api/apidom-parser-adapter-openapi-json-3-1` is a parser adapter for the [OpenAPI 3.1.0 specification](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md) in [JSON format](https://www.json.org/json-en.html).
|
|
4
4
|
Under the hood this adapter uses [apidom-parser-adapter-json](https://github.com/swagger-api/apidom/tree/main/packages/apidom-parser-adapter-json)
|
|
5
5
|
to parse a source string into generic ApiDOM in [base ApiDOM namespace](https://github.com/swagger-api/apidom/tree/main/packages/apidom#base-namespace)
|
|
6
|
-
which is then refracted with [
|
|
6
|
+
which is then refracted with [OpenAPI 3.1.0 Refractors](https://github.com/swagger-api/apidom/tree/main/packages/apidom-ns-openapi-3-1#refractors).
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
@@ -32,11 +32,11 @@ Defines list of media types that this parser adapter recognizes.
|
|
|
32
32
|
|
|
33
33
|
### detect
|
|
34
34
|
|
|
35
|
-
[Detection](https://github.com/swagger-api/apidom/blob/main/packages/apidom-parser-adapter-openapi-json-3-1/src/adapter.ts#L13) is based on a regular expression matching required
|
|
35
|
+
[Detection](https://github.com/swagger-api/apidom/blob/main/packages/apidom-parser-adapter-openapi-json-3-1/src/adapter.ts#L13) is based on a regular expression matching required OpenAPI 3.1.0 specification symbols in JSON format.
|
|
36
36
|
|
|
37
37
|
### namespace
|
|
38
38
|
|
|
39
|
-
This adapter exposes an instance of [
|
|
39
|
+
This adapter exposes an instance of [OpenAPI 3.1.0 ApiDOM namespace](https://github.com/swagger-api/apidom/tree/main/packages/apidom-ns-openapi-3-1#openapi-310-namespace).
|
|
40
40
|
|
|
41
41
|
### parse
|
|
42
42
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swagger-api/apidom-parser-adapter-openapi-json-3-1",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.82.0",
|
|
4
4
|
"description": "Parser adapter for parsing JSON documents into OpenAPI 3.1.x namespace.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"license": "Apache-2.0",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@babel/runtime-corejs3": "^7.20.7",
|
|
46
|
-
"@swagger-api/apidom-core": "^0.
|
|
47
|
-
"@swagger-api/apidom-ns-openapi-3-1": "^0.
|
|
48
|
-
"@swagger-api/apidom-parser-adapter-json": "^0.
|
|
46
|
+
"@swagger-api/apidom-core": "^0.82.0",
|
|
47
|
+
"@swagger-api/apidom-ns-openapi-3-1": "^0.82.0",
|
|
48
|
+
"@swagger-api/apidom-parser-adapter-json": "^0.82.0",
|
|
49
49
|
"@types/ramda": "~0.29.6",
|
|
50
50
|
"ramda": "~0.29.0",
|
|
51
51
|
"ramda-adjunct": "^4.0.0"
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"README.md",
|
|
61
61
|
"CHANGELOG.md"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "343498decaceb7b13134159e6253016ddef7e154"
|
|
64
64
|
}
|