@@ -128,7 +128,7 @@ class Configuration
128128
129129 def initialize
130130 @scheme = 'http'
131- @host = 'petstore.swagger.io '
131+ @host = 'localhost '
132132 @base_path = '/v2'
133133 @server_index = nil
134134 @server_operation_index = { }
@@ -254,6 +254,10 @@ def auth_settings
254254 # Returns an array of Server setting
255255 def server_settings
256256 [
257+ {
258+ url : "http://localhost/v2" ,
259+ description : "No description provided" ,
260+ } ,
257261 {
258262 url : "http://{server}.swagger.io:{port}/v2" ,
259263 description : "petstore server" ,
@@ -315,6 +319,10 @@ def server_settings
315319 def operation_server_settings
316320 {
317321 "PetApi.add_pet" : [
322+ {
323+ url : "http://localhost/v2" ,
324+ description : "No description provided" ,
325+ } ,
318326 {
319327 url : "http://petstore.swagger.io/v2" ,
320328 description : "No description provided" ,
@@ -362,6 +370,10 @@ def operation_server_settings
362370 }
363371 ] ,
364372 "PetApi.delete_pet" : [
373+ {
374+ url : "http://localhost/v2" ,
375+ description : "No description provided" ,
376+ } ,
365377 {
366378 url : "http://petstore.swagger.io/v2" ,
367379 description : "No description provided" ,
@@ -409,6 +421,10 @@ def operation_server_settings
409421 }
410422 ] ,
411423 "PetApi.get_pet_by_id" : [
424+ {
425+ url : "http://localhost/v2" ,
426+ description : "No description provided" ,
427+ } ,
412428 {
413429 url : "http://petstore.swagger.io/v2" ,
414430 description : "No description provided" ,
@@ -456,6 +472,10 @@ def operation_server_settings
456472 }
457473 ] ,
458474 "PetApi.update_pet" : [
475+ {
476+ url : "http://localhost/v2" ,
477+ description : "No description provided" ,
478+ } ,
459479 {
460480 url : "http://petstore.swagger.io/v2" ,
461481 description : "No description provided" ,
@@ -503,6 +523,10 @@ def operation_server_settings
503523 }
504524 ] ,
505525 "PetApi.update_pet_with_form" : [
526+ {
527+ url : "http://localhost/v2" ,
528+ description : "No description provided" ,
529+ } ,
506530 {
507531 url : "http://petstore.swagger.io/v2" ,
508532 description : "No description provided" ,
0 commit comments