@@ -193,15 +193,7 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
193193 * Optional property to set
194194 * If true, the server selector custom base URI option is rendered
195195 */
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 }
205197 } ;
206198 }
207199
@@ -307,20 +299,6 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
307299 this . requestUpdate ( 'server' , old ) ;
308300 }
309301
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-
324302 constructor ( ) {
325303 super ( ) ;
326304 this . _scrollHandler = this . _scrollHandler . bind ( this ) ;
@@ -983,7 +961,6 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
983961 < api-url
984962 .amf ="${ this . amf } "
985963 .server ="${ this . server } "
986- .servers ="${ this . servers } "
987964 .endpoint ="${ this . endpoint } "
988965 .apiVersion ="${ this . apiVersion } "
989966 .baseUri ="${ this . baseUri } "
@@ -1045,7 +1022,6 @@ export class ApiEndpointDocumentationElement extends AmfHelperMixin(LitElement)
10451022 data-operation-id ="${ item [ '@id' ] } "
10461023 .amf ="${ amf } "
10471024 .server ="${ server } "
1048- .servers ="${ this . servers } "
10491025 .endpoint ="${ endpoint } "
10501026 .method ="${ item } "
10511027 .narrow ="${ narrow } "
0 commit comments