@asyncapi/cli 0.58.4 → 0.58.5
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.
|
@@ -40,9 +40,9 @@ class Models extends base_1.default {
|
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
// Modelina, atm, is not using @asyncapi/parser@v3.x but @asyncapi/parser@v2.x, so it still uses Parser-API v1.0.0.
|
|
43
|
-
// This call converts the parsed document object using @asyncapi/parser@v3.x (Parser-API v2
|
|
43
|
+
// This call converts the parsed document object using @asyncapi/parser@v3.x (Parser-API v2) to a document compatible with the Parser-API version in use in @asyncapi/parser@v2.x (v1)
|
|
44
44
|
// This is needed until https://github.com/asyncapi/modelina/issues/1493 gets fixed.
|
|
45
|
-
const convertedDoc = (0, multi_parser_1.ConvertDocumentParserAPIVersion)(document.json(),
|
|
45
|
+
const convertedDoc = (0, multi_parser_1.ConvertDocumentParserAPIVersion)(document.json(), 1);
|
|
46
46
|
modelina_1.Logger.setLogger({
|
|
47
47
|
info: (message) => {
|
|
48
48
|
this.log(message);
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asyncapi/cli",
|
|
3
3
|
"description": "All in one CLI for all AsyncAPI tools",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.5",
|
|
5
5
|
"author": "@asyncapi",
|
|
6
6
|
"bin": {
|
|
7
7
|
"asyncapi": "./bin/run"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@asyncapi/bundler": "^0.3.8",
|
|
13
13
|
"@asyncapi/converter": "^1.3.1",
|
|
14
14
|
"@asyncapi/diff": "^0.4.1",
|
|
15
|
-
"@asyncapi/generator": "^1.13.
|
|
15
|
+
"@asyncapi/generator": "^1.13.1",
|
|
16
16
|
"@asyncapi/modelina": "^1.9.0",
|
|
17
17
|
"@asyncapi/openapi-schema-parser": "^3.0.3",
|
|
18
18
|
"@asyncapi/optimizer": "^0.2.1",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@oclif/core": "^1.26.2",
|
|
24
24
|
"@oclif/errors": "^1.3.6",
|
|
25
25
|
"@oclif/plugin-not-found": "^2.3.22",
|
|
26
|
-
"@smoya/multi-parser": "^
|
|
26
|
+
"@smoya/multi-parser": "^4.0.0",
|
|
27
27
|
"@stoplight/spectral-cli": "6.9.0",
|
|
28
28
|
"ajv": "^8.12.0",
|
|
29
29
|
"chalk": "^4.1.0",
|