api-console 6.6.55 → 6.6.57

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,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.55",
4
+ "version": "6.6.57",
5
5
  "license": "CPAL-1.0",
6
6
  "main": "index.js",
7
7
  "module": "index.js",
@@ -37,7 +37,7 @@
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.35",
40
+ "@api-components/amf-helper-mixin": "^4.5.36",
41
41
  "@api-components/api-console-ext-comm": "^3.0.0",
42
42
  "@api-components/api-documentation": "^6.1.7",
43
43
  "@api-components/api-navigation": "^4.3.20",
@@ -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;