You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: helpers/all.js
+3-1
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,9 @@ export function includeFile(pathFile) {
133
133
* and annotates that specification is parsed.
134
134
*/
135
135
exportfunctionstringifySpec(asyncapi){
136
-
returnstringify(asyncapi);
136
+
conststringifiedDoc=stringify(asyncapi);
137
+
if(stringifiedDoc===undefined)thrownewError("Unable to stringify parsed AsyncAPI document passed by the generator. Please report an issue in https://github.com/asyncapi/html-template repository.")
Copy file name to clipboardExpand all lines: package.json
+4-4
Original file line number
Diff line number
Diff line change
@@ -39,24 +39,24 @@
39
39
"dependencies": {
40
40
"@asyncapi/generator-react-sdk": "^1.0.0",
41
41
"@asyncapi/react-component": "^1.0.1",
42
-
"@asyncapi/parser": "^3.0.0-next-major-spec.3",
42
+
"@asyncapi/parser": "^3.0.0-next-major-spec.14",
43
43
"highlight.js": "10.7.3",
44
44
"puppeteer": "^14.1.0",
45
45
"react-dom": "^17.0.2",
46
46
"rimraf": "^3.0.2",
47
47
"sync-fetch": "^0.5.2"
48
48
},
49
49
"devDependencies": {
50
-
"@asyncapi/cli": "^0.58.5",
50
+
"@asyncapi/cli": "^1.1.8",
51
51
"cross-env": "^7.0.3",
52
52
"jest": "^26.6.3",
53
53
"jest-esm-transformer": "^1.0.0",
54
54
"markdown-toc": "^1.2.0"
55
55
},
56
56
"generator": {
57
57
"renderer": "react",
58
-
"apiVersion": "v2",
59
-
"generator": ">=1.13.0 <2.0.0",
58
+
"apiVersion": "v3",
59
+
"generator": ">=1.15.0 <2.0.0",
60
60
"parameters": {
61
61
"sidebarOrganization": {
62
62
"description": "Defines how the sidebar should be organized. 'byTags' to categorize operations by tags in the root of the document, `byTagsNoRoot` does the same but for pub/sub tags.",
0 commit comments