Skip to content

Commit ef0aef2

Browse files
committed
use 127.0.0.1
1 parent 324d773 commit ef0aef2

File tree

30 files changed

+50
-58
lines changed

30 files changed

+50
-58
lines changed

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

Lines changed: 3 additions & 3 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://localhost/v2'
34+
- url: 'http://127.0.0.1/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://localhost/v2'
192+
- url: 'http://127.0.0.1/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://localhost/v2'
1363+
- url: 'http://127.0.0.1/v2'
13641364
- url: 'http://{server}.swagger.io:{port}/v2'
13651365
description: petstore server
13661366
variables:

samples/client/petstore/ruby-faraday/.openapi-generator/FILES

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,4 @@ lib/petstore/models/whale.rb
139139
lib/petstore/models/zebra.rb
140140
lib/petstore/version.rb
141141
petstore.gemspec
142-
spec/models/cow_spec.rb
143-
spec/models/mammal_anyof_spec.rb
144-
spec/models/mammal_spec.rb
145-
spec/models/mammal_without_discriminator_spec.rb
146-
spec/models/one_of_primitive_types_spec.rb
147-
spec/models/property_name_mapping_spec.rb
148-
spec/models/whale_spec.rb
149-
spec/models/zebra_spec.rb
150142
spec/spec_helper.rb

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://localhost/v2*
75+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/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://localhost/v2*
3+
All URIs are relative to *http://127.0.0.1/v2*
44

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

0 commit comments

Comments
 (0)