@@ -157,7 +157,7 @@ class Configuration
157157
158158 def initialize
159159 @scheme = 'http'
160- @host = 'domaincontrol.com '
160+ @host = 'petstore.swagger.io '
161161 @base_path = '/v2'
162162 @server_index = nil
163163 @server_operation_index = { }
@@ -290,10 +290,6 @@ def auth_settings
290290 # Returns an array of Server setting
291291 def server_settings
292292 [
293- {
294- url : "http://domaincontrol.com/v2" ,
295- description : "No description provided" ,
296- } ,
297293 {
298294 url : "http://{server}.swagger.io:{port}/v2" ,
299295 description : "petstore server" ,
@@ -332,7 +328,7 @@ def server_settings
332328 }
333329 } ,
334330 {
335- url : "https://domaincontrol.com /no_varaible" ,
331+ url : "https://127.0.0.1 /no_varaible" ,
336332 description : "The local server without variables" ,
337333 } ,
338334 {
@@ -355,10 +351,6 @@ def server_settings
355351 def operation_server_settings
356352 {
357353 "PetApi.add_pet" : [
358- {
359- url : "http://domaincontrol.com/v2" ,
360- description : "No description provided" ,
361- } ,
362354 {
363355 url : "http://petstore.swagger.io/v2" ,
364356 description : "No description provided" ,
@@ -406,10 +398,6 @@ def operation_server_settings
406398 }
407399 ] ,
408400 "PetApi.delete_pet" : [
409- {
410- url : "http://domaincontrol.com/v2" ,
411- description : "No description provided" ,
412- } ,
413401 {
414402 url : "http://petstore.swagger.io/v2" ,
415403 description : "No description provided" ,
@@ -457,10 +445,6 @@ def operation_server_settings
457445 }
458446 ] ,
459447 "PetApi.get_pet_by_id" : [
460- {
461- url : "http://domaincontrol.com/v2" ,
462- description : "No description provided" ,
463- } ,
464448 {
465449 url : "http://petstore.swagger.io/v2" ,
466450 description : "No description provided" ,
@@ -508,10 +492,6 @@ def operation_server_settings
508492 }
509493 ] ,
510494 "PetApi.update_pet" : [
511- {
512- url : "http://domaincontrol.com/v2" ,
513- description : "No description provided" ,
514- } ,
515495 {
516496 url : "http://petstore.swagger.io/v2" ,
517497 description : "No description provided" ,
@@ -559,10 +539,6 @@ def operation_server_settings
559539 }
560540 ] ,
561541 "PetApi.update_pet_with_form" : [
562- {
563- url : "http://domaincontrol.com/v2" ,
564- description : "No description provided" ,
565- } ,
566542 {
567543 url : "http://petstore.swagger.io/v2" ,
568544 description : "No description provided" ,
0 commit comments