Skip to content

Commit 7b1d375

Browse files
committed
chore: update api-documentation and api-request-panel
Signed-off-by: Leandro Bauret <[email protected]>
1 parent 079565a commit 7b1d375

File tree

2 files changed

+60
-60
lines changed

2 files changed

+60
-60
lines changed

package-lock.json

Lines changed: 54 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ApiConsole.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
252252
selectedServerValue,
253253
selectedServerType,
254254
noServerSelector,
255-
noCustomServer,
255+
allowCustomBaseUri,
256256
} = this;
257257
return html`<api-request-panel
258258
.amf="${amf}"
@@ -261,7 +261,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
261261
?outlined="${outlined}"
262262
?compatibility="${compatibility}"
263263
?noServerSelector="${noServerSelector}"
264-
?noCustomServer="${noCustomServer}"
264+
?allowCustomBaseUri="${allowCustomBaseUri}"
265265
.noUrlEditor="${noUrlEditor}"
266266
.redirectUri="${redirectUri}"
267267
.scrollTarget="${scrollTarget}"
@@ -295,7 +295,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
295295
selectedServerType,
296296
_noDocumentationServerSelector,
297297
noServerSelector,
298-
noCustomServer
298+
allowCustomBaseUri
299299
} = this;
300300

301301
return html`<api-documentation
@@ -306,7 +306,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
306306
?compatibility="${compatibility}"
307307
?outlined="${outlined}"
308308
?noServerSelector="${noServerSelector || _noDocumentationServerSelector}"
309-
?noCustomServer="${noCustomServer}"
309+
?allowCustomBaseUri="${allowCustomBaseUri}"
310310
.inlineMethods="${inlineMethods}"
311311
.noTryIt="${_noTryItValue}"
312312
.baseUri="${baseUri}"
@@ -594,9 +594,9 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
594594
_noDocumentationServerSelector: { type: Boolean },
595595
/**
596596
* Optional property to set
597-
* If true, the server selector custom option is not rendered
597+
* If true, the server selector custom base URI option is rendered
598598
*/
599-
noCustomServer: { type: Boolean },
599+
allowCustomBaseUri: { type: Boolean },
600600
};
601601
}
602602

0 commit comments

Comments
 (0)