@@ -231,15 +231,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
231231 * Bindings for the type document.
232232 * This is a map of the type name to the binding name.
233233 */
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 }
243235 } ;
244236 }
245237
@@ -343,21 +335,6 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
343335 this . _processServerInfo ( ) ;
344336 }
345337
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-
361338 get _titleHidden ( ) {
362339 if ( ! this . noTryIt ) {
363340 return false ;
@@ -920,7 +897,6 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
920897 < api-url
921898 .amf ="${ this . amf } "
922899 .server ="${ this . server } "
923- .servers ="${ this . servers } "
924900 .endpoint ="${ this . endpoint } "
925901 .apiVersion ="${ this . apiVersion } "
926902 .baseUri ="${ this . baseUri } "
@@ -1248,8 +1224,7 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
12481224 const {
12491225 amf,
12501226 compatibility,
1251- graph,
1252- servers
1227+ graph
12531228 } = this ;
12541229 return html `
12551230 < div class ="callback-section ">
@@ -1258,7 +1233,6 @@ export class ApiMethodDocumentation extends AmfHelperMixin(LitElement) {
12581233 .amf ="${ amf } "
12591234 .method ="${ method } "
12601235 .endpoint ="${ endpoint } "
1261- .servers ="${ servers } "
12621236 ?compatibility ="${ compatibility } "
12631237 ?graph ="${ graph } "
12641238 noTryit
0 commit comments