@jentic/arazzo-parser 1.0.0-alpha.7 → 1.0.0-alpha.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jentic/arazzo-parser",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.9",
|
|
4
4
|
"description": "Parser for Arazzo Documents producing SpecLynx ApiDOM data model.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arazzo",
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
"license": "Apache-2.0",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/runtime-corejs3": "^7.28.4",
|
|
51
|
-
"@speclynx/apidom-core": "2.
|
|
52
|
-
"@speclynx/apidom-datamodel": "2.
|
|
53
|
-
"@speclynx/apidom-error": "2.
|
|
54
|
-
"@speclynx/apidom-ns-arazzo-1": "2.
|
|
55
|
-
"@speclynx/apidom-parser-adapter-arazzo-json-1": "2.
|
|
56
|
-
"@speclynx/apidom-parser-adapter-arazzo-yaml-1": "2.
|
|
57
|
-
"@speclynx/apidom-parser-adapter-openapi-json-2": "2.
|
|
58
|
-
"@speclynx/apidom-parser-adapter-openapi-json-3-0": "2.
|
|
59
|
-
"@speclynx/apidom-parser-adapter-openapi-json-3-1": "2.
|
|
60
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-2": "2.
|
|
61
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-3-0": "2.
|
|
62
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-3-1": "2.
|
|
63
|
-
"@speclynx/apidom-reference": "2.
|
|
51
|
+
"@speclynx/apidom-core": "2.7.0",
|
|
52
|
+
"@speclynx/apidom-datamodel": "2.7.0",
|
|
53
|
+
"@speclynx/apidom-error": "2.7.0",
|
|
54
|
+
"@speclynx/apidom-ns-arazzo-1": "2.7.0",
|
|
55
|
+
"@speclynx/apidom-parser-adapter-arazzo-json-1": "2.7.0",
|
|
56
|
+
"@speclynx/apidom-parser-adapter-arazzo-yaml-1": "2.7.0",
|
|
57
|
+
"@speclynx/apidom-parser-adapter-openapi-json-2": "2.7.0",
|
|
58
|
+
"@speclynx/apidom-parser-adapter-openapi-json-3-0": "2.7.0",
|
|
59
|
+
"@speclynx/apidom-parser-adapter-openapi-json-3-1": "2.7.0",
|
|
60
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-2": "2.7.0",
|
|
61
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-3-0": "2.7.0",
|
|
62
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-3-1": "2.7.0",
|
|
63
|
+
"@speclynx/apidom-reference": "2.7.0",
|
|
64
64
|
"ramda-adjunct": "^6.0.0",
|
|
65
65
|
"type-fest": "^5.4.3"
|
|
66
66
|
},
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"README.md",
|
|
75
75
|
"CHANGELOG.md"
|
|
76
76
|
],
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "755de0971e10cfc704eb484e43310c64e482acb4"
|
|
78
78
|
}
|
package/src/parse-arazzo.cjs
CHANGED
|
@@ -34,12 +34,10 @@ const defaultOptions = exports.defaultOptions = {
|
|
|
34
34
|
parse: {
|
|
35
35
|
parsers: [new _arazzoJson.default({
|
|
36
36
|
allowEmpty: false,
|
|
37
|
-
fileExtensions: ['.json']
|
|
38
|
-
parseFn: _empty.parse
|
|
37
|
+
fileExtensions: ['.json']
|
|
39
38
|
}), new _arazzoYaml.default({
|
|
40
39
|
allowEmpty: false,
|
|
41
|
-
fileExtensions: ['.yaml', '.yml']
|
|
42
|
-
parseFn: _empty.parse
|
|
40
|
+
fileExtensions: ['.yaml', '.yml']
|
|
43
41
|
}), new _openapiJson.default({
|
|
44
42
|
allowEmpty: false,
|
|
45
43
|
fileExtensions: ['.json']
|
package/src/parse-arazzo.mjs
CHANGED
|
@@ -27,12 +27,10 @@ export const defaultOptions = {
|
|
|
27
27
|
parse: {
|
|
28
28
|
parsers: [new ArazzoJSON1Parser({
|
|
29
29
|
allowEmpty: false,
|
|
30
|
-
fileExtensions: ['.json']
|
|
31
|
-
parseFn: parseURI
|
|
30
|
+
fileExtensions: ['.json']
|
|
32
31
|
}), new ArazzoYAML1Parser({
|
|
33
32
|
allowEmpty: false,
|
|
34
|
-
fileExtensions: ['.yaml', '.yml']
|
|
35
|
-
parseFn: parseURI
|
|
33
|
+
fileExtensions: ['.yaml', '.yml']
|
|
36
34
|
}), new OpenApiJSON2Parser({
|
|
37
35
|
allowEmpty: false,
|
|
38
36
|
fileExtensions: ['.json']
|