@@ -231,15 +231,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
231
231
* Bindings for the type document.
232
232
* This is a map of the type name to the binding name.
233
233
*/
234
- bindings : { type : Array } ,
235
- /**
236
- * Adds a servers to async API
237
- *
238
- * @param {string } url - The URL of the server.
239
- * @param {object } [description] - An object containing a string `description` property.
240
- */
241
- servers : { type :Array } ,
242
- _servers : { type :Array } ,
234
+ bindings : { type : Array }
243
235
} ;
244
236
}
245
237
@@ -343,21 +335,6 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
343
335
this . _processServerInfo ( ) ;
344
336
}
345
337
346
- get servers ( ) {
347
- return this . _servers ;
348
- }
349
-
350
- set servers ( value ) {
351
-
352
- const old = this . _servers ;
353
- /* istanbul ignore if */
354
- if ( old === value ) {
355
- return ;
356
- }
357
- this . _servers = value ;
358
- this . requestUpdate ( 'servers' , old ) ;
359
- }
360
-
361
338
get _titleHidden ( ) {
362
339
if ( ! this . noTryIt ) {
363
340
return false ;
@@ -920,7 +897,6 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
920
897
< api-url
921
898
.amf ="${ this . amf } "
922
899
.server ="${ this . server } "
923
- .servers ="${ this . servers } "
924
900
.endpoint ="${ this . endpoint } "
925
901
.apiVersion ="${ this . apiVersion } "
926
902
.baseUri ="${ this . baseUri } "
@@ -1248,8 +1224,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
1248
1224
const {
1249
1225
amf,
1250
1226
compatibility,
1251
- graph,
1252
- servers
1227
+ graph
1253
1228
} = this ;
1254
1229
return html `
1255
1230
< div class ="callback-section ">
@@ -1258,7 +1233,6 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
1258
1233
.amf ="${ amf } "
1259
1234
.method ="${ method } "
1260
1235
.endpoint ="${ endpoint } "
1261
- .servers ="${ servers } "
1262
1236
?compatibility ="${ compatibility } "
1263
1237
?graph ="${ graph } "
1264
1238
noTryit
0 commit comments