@@ -193,15 +193,7 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
193
193
* Optional property to set
194
194
* If true, the server selector custom base URI option is rendered
195
195
*/
196
- allowCustomBaseUri : { type : Boolean } ,
197
- /**
198
- * Adds a servers to async API
199
- *
200
- * @param {string } url - The URL of the server.
201
- * @param {object } [description] - An object containing a string `description` property.
202
- */
203
- servers : { type :Array } ,
204
- _servers : { type :Array } ,
196
+ allowCustomBaseUri : { type : Boolean }
205
197
} ;
206
198
}
207
199
@@ -307,20 +299,6 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
307
299
this . requestUpdate ( 'server' , old ) ;
308
300
}
309
301
310
- get servers ( ) {
311
- return this . _servers ;
312
- }
313
-
314
- set servers ( value ) {
315
- const old = this . _servers ;
316
- /* istanbul ignore if */
317
- if ( old === value ) {
318
- return ;
319
- }
320
- this . _servers = value ;
321
- this . requestUpdate ( 'servers' , old ) ;
322
- }
323
-
324
302
constructor ( ) {
325
303
super ( ) ;
326
304
this . _scrollHandler = this . _scrollHandler . bind ( this ) ;
@@ -983,7 +961,6 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
983
961
< api-url
984
962
.amf ="${ this . amf } "
985
963
.server ="${ this . server } "
986
- .servers ="${ this . servers } "
987
964
.endpoint ="${ this . endpoint } "
988
965
.apiVersion ="${ this . apiVersion } "
989
966
.baseUri ="${ this . baseUri } "
@@ -1045,7 +1022,6 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
1045
1022
data-operation-id ="${ item [ '@id' ] } "
1046
1023
.amf ="${ amf } "
1047
1024
.server ="${ server } "
1048
- .servers ="${ this . servers } "
1049
1025
.endpoint ="${ endpoint } "
1050
1026
.method ="${ item } "
1051
1027
.narrow ="${ narrow } "
0 commit comments