api-console 6.6.52 → 6.6.56
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 +19 -20
- package/src/ApiConsoleApp.js +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "api-console",
|
|
3
3
|
"description": "The API Console to automatically generate API documentation from RAML and OAS files.",
|
|
4
|
-
"version": "6.6.
|
|
4
|
+
"version": "6.6.56",
|
|
5
5
|
"license": "CPAL-1.0",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "index.js",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"@advanced-rest-client/arc-marked": "^1.1.2",
|
|
38
38
|
"@advanced-rest-client/oauth-authorization": "^5.0.4",
|
|
39
39
|
"@anypoint-web-components/anypoint-button": "^1.1.1",
|
|
40
|
-
"@api-components/amf-helper-mixin": "^4.5.
|
|
40
|
+
"@api-components/amf-helper-mixin": "^4.5.35",
|
|
41
41
|
"@api-components/api-console-ext-comm": "^3.0.0",
|
|
42
|
-
"@api-components/api-documentation": "^6.1.
|
|
43
|
-
"@api-components/api-navigation": "^4.3.
|
|
42
|
+
"@api-components/api-documentation": "^6.1.7",
|
|
43
|
+
"@api-components/api-navigation": "^4.3.20",
|
|
44
44
|
"@api-components/api-request": "^0.3.8",
|
|
45
|
-
"@api-components/api-summary": "^4.6.
|
|
45
|
+
"@api-components/api-summary": "^4.6.16",
|
|
46
46
|
"@polymer/app-layout": "^3.1.0",
|
|
47
47
|
"@polymer/iron-media-query": "^3.0.0",
|
|
48
48
|
"@polymer/paper-toast": "^3.0.0",
|
|
@@ -55,28 +55,28 @@
|
|
|
55
55
|
"@anypoint-web-components/anypoint-listbox": "^1.0.4",
|
|
56
56
|
"@anypoint-web-components/anypoint-menu-mixin": "^1.0.2",
|
|
57
57
|
"@anypoint-web-components/anypoint-styles": "^1.0.1",
|
|
58
|
-
"@api-components/api-model-generator": "^0.2.
|
|
59
|
-
"@commitlint/cli": "^
|
|
60
|
-
"@commitlint/config-conventional": "^
|
|
58
|
+
"@api-components/api-model-generator": "^0.2.14",
|
|
59
|
+
"@commitlint/cli": "^13.2.1",
|
|
60
|
+
"@commitlint/config-conventional": "^13.2.0",
|
|
61
61
|
"@open-wc/building-rollup": "^1.2.6",
|
|
62
|
-
"@open-wc/eslint-config": "^4.
|
|
63
|
-
"@open-wc/testing": "^2.5.
|
|
62
|
+
"@open-wc/eslint-config": "^4.0.1",
|
|
63
|
+
"@open-wc/testing": "^2.5.32",
|
|
64
64
|
"@polymer/iron-test-helpers": "^3.0.0",
|
|
65
|
-
"@web/dev-server": "^0.
|
|
66
|
-
"@web/test-runner": "^0.
|
|
67
|
-
"@web/test-runner-playwright": "0.
|
|
65
|
+
"@web/dev-server": "^0.1.8",
|
|
66
|
+
"@web/test-runner": "^0.13.15",
|
|
67
|
+
"@web/test-runner-playwright": "^0.11.0",
|
|
68
68
|
"@web/test-runner-visual-regression": "^0.6.4",
|
|
69
69
|
"amf-client-js": "^5.4.4",
|
|
70
70
|
"body-parser": "^1.19.0",
|
|
71
71
|
"deepmerge": "^4.2.1",
|
|
72
|
-
"eslint": "^
|
|
73
|
-
"eslint-config-prettier": "^
|
|
72
|
+
"eslint": "^8.0.0",
|
|
73
|
+
"eslint-config-prettier": "^8.3.0",
|
|
74
74
|
"esm": "^3.2.25",
|
|
75
75
|
"express": "^4.17.1",
|
|
76
76
|
"fs-extra": "^9.1.0",
|
|
77
|
-
"husky": "^
|
|
77
|
+
"husky": "^7.0.2",
|
|
78
78
|
"js-yaml": "^4.1.0",
|
|
79
|
-
"lint-staged": "^
|
|
79
|
+
"lint-staged": "^11.2.2",
|
|
80
80
|
"multer": "^1.4.2",
|
|
81
81
|
"node-cache": "^5.1.0",
|
|
82
82
|
"postcss": "^8.4.14",
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"rollup": "^2.75.6",
|
|
85
85
|
"rollup-plugin-cpy": "^2.0.1",
|
|
86
86
|
"rollup-plugin-postcss": "^4.0.2",
|
|
87
|
-
"sinon": "^
|
|
87
|
+
"sinon": "^11.1.2",
|
|
88
88
|
"tmp": "^0.2.1",
|
|
89
|
-
"typescript": "^4.
|
|
89
|
+
"typescript": "^4.4.3",
|
|
90
90
|
"typescript-lit-html-plugin": "^0.9.0",
|
|
91
91
|
"uglify-js": "^3.16.0",
|
|
92
92
|
"unzipper": "^0.10.10",
|
|
@@ -151,7 +151,6 @@
|
|
|
151
151
|
]
|
|
152
152
|
},
|
|
153
153
|
"overrides": {
|
|
154
|
-
"playwright": "1.25.2",
|
|
155
154
|
"unset-value": "2.0.1",
|
|
156
155
|
"semver": "7.5.4",
|
|
157
156
|
"decode-uri-component": "0.4.1",
|
package/src/ApiConsoleApp.js
CHANGED
|
@@ -204,7 +204,7 @@ export class ApiConsoleApp extends ApiConsole {
|
|
|
204
204
|
if (!wideLayout || !isMethod ||inlineMethods) {
|
|
205
205
|
return false;
|
|
206
206
|
}
|
|
207
|
-
if (!this._isWebAPI(this.amf)) {
|
|
207
|
+
if (!this._isWebAPI(this.amf) || this._isGrpcApi(this.amf)) {
|
|
208
208
|
return false;
|
|
209
209
|
}
|
|
210
210
|
return wideLayout;
|
|
@@ -214,7 +214,7 @@ export class ApiConsoleApp extends ApiConsole {
|
|
|
214
214
|
if (renderInlineTyit) {
|
|
215
215
|
return true;
|
|
216
216
|
}
|
|
217
|
-
if (!this._isWebAPI(this.amf)) {
|
|
217
|
+
if (!this._isWebAPI(this.amf) || this._isGrpcApi(this.amf)) {
|
|
218
218
|
return true;
|
|
219
219
|
}
|
|
220
220
|
return noTryIt;
|