api-console 6.0.7 → 6.0.8
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 +4 -4
- package/src/ApiConsole.js +9 -1
- package/src/ApiConsoleApp.js +6 -0
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.0.
|
|
4
|
+
"version": "6.0.8",
|
|
5
5
|
"license": "CPAL-1.0",
|
|
6
6
|
"main": "api-console.js",
|
|
7
7
|
"keywords": [
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@advanced-rest-client/arc-icons": "^3.0.5",
|
|
32
|
-
"@advanced-rest-client/oauth-authorization": "^
|
|
32
|
+
"@advanced-rest-client/oauth-authorization": "^5.0.6",
|
|
33
33
|
"@advanced-rest-client/xhr-simple-request": "^3.0.0",
|
|
34
34
|
"@anypoint-web-components/anypoint-button": "^1.0.14",
|
|
35
35
|
"@api-components/amf-helper-mixin": "^4.0.18",
|
|
36
36
|
"@api-components/api-console-ext-comm": "^3.0.0",
|
|
37
|
-
"@api-components/api-documentation": "^
|
|
37
|
+
"@api-components/api-documentation": "^5.1.2",
|
|
38
38
|
"@api-components/api-navigation": "^4.0.3",
|
|
39
|
-
"@api-components/api-request-panel": "^
|
|
39
|
+
"@api-components/api-request-panel": "^5.1.1",
|
|
40
40
|
"@api-components/raml-aware": "^3.0.0",
|
|
41
41
|
"@polymer/app-layout": "^3.1.0",
|
|
42
42
|
"@polymer/iron-media-query": "^3.0.0",
|
package/src/ApiConsole.js
CHANGED
|
@@ -248,7 +248,8 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
|
|
|
248
248
|
redirectUri,
|
|
249
249
|
eventsTarget,
|
|
250
250
|
baseUri,
|
|
251
|
-
noDocs
|
|
251
|
+
noDocs,
|
|
252
|
+
urlLabel,
|
|
252
253
|
} = this;
|
|
253
254
|
return html`<api-request-panel
|
|
254
255
|
.amf="${amf}"
|
|
@@ -256,6 +257,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
|
|
|
256
257
|
?narrow="${narrow}"
|
|
257
258
|
?outlined="${outlined}"
|
|
258
259
|
?compatibility="${compatibility}"
|
|
260
|
+
?urlLabel="${urlLabel}"
|
|
259
261
|
.noUrlEditor="${noUrlEditor}"
|
|
260
262
|
.redirectUri="${redirectUri}"
|
|
261
263
|
.scrollTarget="${scrollTarget}"
|
|
@@ -549,6 +551,12 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
|
|
|
549
551
|
* **This is an experimental option and may dissapear without warning.**
|
|
550
552
|
*/
|
|
551
553
|
rearrangeEndpoints: { type: Boolean },
|
|
554
|
+
/**
|
|
555
|
+
* When set it renders a label with the computed URL.
|
|
556
|
+
* This intended to be used with `noUrlEditor` set to true.
|
|
557
|
+
* This way it replaces the editor with a simple label.
|
|
558
|
+
*/
|
|
559
|
+
urlLabel: { type: Boolean },
|
|
552
560
|
};
|
|
553
561
|
}
|
|
554
562
|
|
package/src/ApiConsoleApp.js
CHANGED
|
@@ -159,6 +159,12 @@ export class ApiConsoleApp extends ApiConsole {
|
|
|
159
159
|
_renderInlineTyit: { type: Boolean },
|
|
160
160
|
|
|
161
161
|
_noTryItValue: { type: Boolean },
|
|
162
|
+
/**
|
|
163
|
+
* When set it renders a label with the computed URL.
|
|
164
|
+
* This intended to be used with `noUrlEditor` set to true.
|
|
165
|
+
* This way it replaces the editor with a simple label.
|
|
166
|
+
*/
|
|
167
|
+
urlLabel: { type: Boolean },
|
|
162
168
|
};
|
|
163
169
|
}
|
|
164
170
|
|