Skip to content

Commit 260787b

Browse files
committed
update
1 parent ef0aef2 commit 260787b

28 files changed

+52
-52
lines changed

modules/openapi-generator/src/test/resources/3_0/ruby/petstore-with-fake-endpoints-models-for-testing.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ paths:
3131
$ref: '#/components/schemas/Foo'
3232
/pet:
3333
servers:
34-
- url: 'http://127.0.0.1/v2'
34+
- url: 'http://domaincontrol.com/v2'
3535
- url: 'http://petstore.swagger.io/v2'
3636
- url: 'http://path-server-test.petstore.local/v2'
3737
- url: 'http://{server}.swagger.io:{port}/v2'
@@ -189,7 +189,7 @@ paths:
189189
deprecated: true
190190
'/pet/{petId}':
191191
servers:
192-
- url: 'http://127.0.0.1/v2'
192+
- url: 'http://domaincontrol.com/v2'
193193
- url: 'http://petstore.swagger.io/v2'
194194
- url: 'http://path-server-test.petstore.local/v2'
195195
- url: 'http://{server}.swagger.io:{port}/v2'
@@ -1360,7 +1360,7 @@ paths:
13601360
200:
13611361
description: OK
13621362
servers:
1363-
- url: 'http://127.0.0.1/v2'
1363+
- url: 'http://domaincontrol.com/v2'
13641364
- url: 'http://{server}.swagger.io:{port}/v2'
13651365
description: petstore server
13661366
variables:
@@ -1383,7 +1383,7 @@ servers:
13831383
- 'v1'
13841384
- 'v2'
13851385
default: 'v2'
1386-
- url: https://127.0.0.1/no_varaible
1386+
- url: https://domaincontrol.com/no_varaible
13871387
description: The local server without variables
13881388
- url: http://server.{version}.openapi-generator.tech
13891389
description: The openapi-generator test server

samples/client/petstore/ruby-faraday/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ end
7272

7373
## Documentation for API Endpoints
7474

75-
All URIs are relative to *http://127.0.0.1/v2*
75+
All URIs are relative to *http://domaincontrol.com/v2*
7676

7777
Class | Method | HTTP request | Description
7878
------------ | ------------- | ------------- | -------------

samples/client/petstore/ruby-faraday/docs/AnotherFakeApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::AnotherFakeApi
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/docs/DefaultApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::DefaultApi
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/docs/FakeApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::FakeApi
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/docs/FakeClassnameTags123Api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::FakeClassnameTags123Api
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/docs/PetApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::PetApi
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/docs/StoreApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::StoreApi
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/docs/UserApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Petstore::UserApi
22

3-
All URIs are relative to *http://127.0.0.1/v2*
3+
All URIs are relative to *http://domaincontrol.com/v2*
44

55
| Method | HTTP request | Description |
66
| ------ | ------------ | ----------- |

samples/client/petstore/ruby-faraday/lib/petstore/configuration.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class Configuration
157157

158158
def initialize
159159
@scheme = 'http'
160-
@host = '127.0.0.1'
160+
@host = 'domaincontrol.com'
161161
@base_path = '/v2'
162162
@server_index = nil
163163
@server_operation_index = {}
@@ -291,7 +291,7 @@ def auth_settings
291291
def server_settings
292292
[
293293
{
294-
url: "http://127.0.0.1/v2",
294+
url: "http://domaincontrol.com/v2",
295295
description: "No description provided",
296296
},
297297
{
@@ -332,7 +332,7 @@ def server_settings
332332
}
333333
},
334334
{
335-
url: "https://127.0.0.1/no_varaible",
335+
url: "https://domaincontrol.com/no_varaible",
336336
description: "The local server without variables",
337337
},
338338
{
@@ -356,7 +356,7 @@ def operation_server_settings
356356
{
357357
"PetApi.add_pet": [
358358
{
359-
url: "http://127.0.0.1/v2",
359+
url: "http://domaincontrol.com/v2",
360360
description: "No description provided",
361361
},
362362
{
@@ -407,7 +407,7 @@ def operation_server_settings
407407
],
408408
"PetApi.delete_pet": [
409409
{
410-
url: "http://127.0.0.1/v2",
410+
url: "http://domaincontrol.com/v2",
411411
description: "No description provided",
412412
},
413413
{
@@ -458,7 +458,7 @@ def operation_server_settings
458458
],
459459
"PetApi.get_pet_by_id": [
460460
{
461-
url: "http://127.0.0.1/v2",
461+
url: "http://domaincontrol.com/v2",
462462
description: "No description provided",
463463
},
464464
{
@@ -509,7 +509,7 @@ def operation_server_settings
509509
],
510510
"PetApi.update_pet": [
511511
{
512-
url: "http://127.0.0.1/v2",
512+
url: "http://domaincontrol.com/v2",
513513
description: "No description provided",
514514
},
515515
{
@@ -560,7 +560,7 @@ def operation_server_settings
560560
],
561561
"PetApi.update_pet_with_form": [
562562
{
563-
url: "http://127.0.0.1/v2",
563+
url: "http://domaincontrol.com/v2",
564564
description: "No description provided",
565565
},
566566
{

0 commit comments

Comments
 (0)