@@ -248,6 +248,8 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
248248 redirectUri,
249249 eventsTarget,
250250 baseUri,
251+ noServerSelector,
252+ noCustomServer,
251253 noDocs
252254 } = this ;
253255 return html `< api-request-panel
@@ -256,6 +258,8 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
256258 ?narrow ="${ narrow } "
257259 ?outlined ="${ outlined } "
258260 ?compatibility ="${ compatibility } "
261+ ?noServerSelector ="${ noServerSelector } "
262+ ?noCustomServer ="${ noCustomServer } "
259263 .noUrlEditor ="${ noUrlEditor } "
260264 .redirectUri ="${ redirectUri } "
261265 .scrollTarget ="${ scrollTarget } "
@@ -281,6 +285,7 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
281285 narrow,
282286 scrollTarget,
283287 redirectUri,
288+ noServerSelector,
284289 baseUri
285290 } = this ;
286291 return html `< api-documentation
@@ -290,13 +295,16 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
290295 ?narrow ="${ narrow } "
291296 ?compatibility ="${ compatibility } "
292297 ?outlined ="${ outlined } "
298+ ?noServerSelector ="${ noServerSelector } "
293299 .inlineMethods ="${ inlineMethods } "
294300 .noTryIt ="${ _noTryItValue } "
295301 .baseUri ="${ baseUri } "
296302 .redirectUri ="${ redirectUri } "
297303 .scrollTarget ="${ scrollTarget } "
298304 @api-navigation-selection-changed ="${ this . _apiNavigationOcurred } "
299- > </ api-documentation > ` ;
305+ >
306+ < slot name ="custom-base-uri " slot ="custom-base-uri "> </ slot >
307+ </ api-documentation > ` ;
300308 }
301309
302310 _navigationTemplate ( ) {
@@ -551,6 +559,16 @@ export class ApiConsole extends AmfHelperMixin(LitElement) {
551559 * **This is an experimental option and may dissapear without warning.**
552560 */
553561 rearrangeEndpoints : { type : Boolean } ,
562+ /**
563+ * Optional property to set
564+ * If true, the server selector is not rendered
565+ */
566+ noServerSelector : { type : Boolean } ,
567+ /**
568+ * Optional property to set
569+ * If true, the server selector custom option is not rendered
570+ */
571+ noCustomServer : { type : Boolean } ,
554572 } ;
555573 }
556574
0 commit comments