Skip to content

Commit db71d97

Browse files
ePaulwing328
authored andcommitted
Updating samples after #5232. (#5243)
* Updating samples after #5232. * Fix tests after #5232. * Fix Javascript client tests. * JaxRS server: set serverPort only when not given from outside. * Update JaxRS sample creator scripts to fix serverPort. * Preliminary test fix for JaxRS server generators. * Updating samples for JaxRS with Jersey1/2. * Updating JaxRS samples again.
1 parent 2830fb1 commit db71d97

File tree

108 files changed

+129
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+129
-129
lines changed

samples/client/petstore/bash/petstore-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ echo " $ops" | column -t -s ';'
760760
echo -e " -V,--version\t\t\t\tPrint API version"
761761
echo -e " --about\t\t\t\tPrint the information about service"
762762
echo -e " --host $(tput setaf 6)<url>$(tput sgr0)\t\t\t\tSpecify the host URL "
763-
echo -e " \t\t\t\t(e.g. 'https://petstore.swagger.io')"
763+
echo -e " \t\t\t\t(e.g. 'https://petstore.swagger.io:80')"
764764
765765
echo -e " --force\t\t\t\tForce command invocation in spite of missing"
766766
echo -e " \t\t\t\trequired parameters or wrong content type"

samples/client/petstore/csharp/SwaggerClient/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace Example
8989
<a name="documentation-for-api-endpoints"></a>
9090
## Documentation for API Endpoints
9191

92-
All URIs are relative to *http://petstore.swagger.io/v2*
92+
All URIs are relative to *http://petstore.swagger.io:80/v2*
9393

9494
Class | Method | HTTP request | Description
9595
------------ | ------------- | ------------- | -------------

samples/client/petstore/csharp/SwaggerClient/docs/FakeApi.md

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

3-
All URIs are relative to *http://petstore.swagger.io/v2*
3+
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

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

samples/client/petstore/csharp/SwaggerClient/docs/PetApi.md

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

3-
All URIs are relative to *http://petstore.swagger.io/v2*
3+
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

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

samples/client/petstore/csharp/SwaggerClient/docs/StoreApi.md

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

3-
All URIs are relative to *http://petstore.swagger.io/v2*
3+
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

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

samples/client/petstore/csharp/SwaggerClient/docs/UserApi.md

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

3-
All URIs are relative to *http://petstore.swagger.io/v2*
3+
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

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

samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Client/ApiClient.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ public partial class ApiClient
4848

4949
/// <summary>
5050
/// Initializes a new instance of the <see cref="ApiClient" /> class
51-
/// with default configuration and base path (http://petstore.swagger.io/v2).
51+
/// with default configuration and base path (http://petstore.swagger.io:80/v2).
5252
/// </summary>
5353
public ApiClient()
5454
{
5555
Configuration = Configuration.Default;
56-
RestClient = new RestClient("http://petstore.swagger.io/v2");
56+
RestClient = new RestClient("http://petstore.swagger.io:80/v2");
5757
}
5858

5959
/// <summary>
6060
/// Initializes a new instance of the <see cref="ApiClient" /> class
61-
/// with default base path (http://petstore.swagger.io/v2).
61+
/// with default base path (http://petstore.swagger.io:80/v2).
6262
/// </summary>
6363
/// <param name="config">An instance of Configuration.</param>
6464
public ApiClient(Configuration config = null)
@@ -68,15 +68,15 @@ public ApiClient(Configuration config = null)
6868
else
6969
Configuration = config;
7070

71-
RestClient = new RestClient("http://petstore.swagger.io/v2");
71+
RestClient = new RestClient("http://petstore.swagger.io:80/v2");
7272
}
7373

7474
/// <summary>
7575
/// Initializes a new instance of the <see cref="ApiClient" /> class
7676
/// with default configuration.
7777
/// </summary>
7878
/// <param name="basePath">The base path.</param>
79-
public ApiClient(String basePath = "http://petstore.swagger.io/v2")
79+
public ApiClient(String basePath = "http://petstore.swagger.io:80/v2")
8080
{
8181
if (String.IsNullOrEmpty(basePath))
8282
throw new ArgumentException("basePath cannot be empty");

samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace Example
8989
<a name="documentation-for-api-endpoints"></a>
9090
## Documentation for API Endpoints
9191

92-
All URIs are relative to *http://petstore.swagger.io/v2*
92+
All URIs are relative to *http://petstore.swagger.io:80/v2*
9393

9494
Class | Method | HTTP request | Description
9595
------------ | ------------- | ------------- | -------------

samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/docs/FakeApi.md

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

3-
All URIs are relative to *http://petstore.swagger.io/v2*
3+
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

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

samples/client/petstore/csharp/SwaggerClientWithPropertyChanged/docs/PetApi.md

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

3-
All URIs are relative to *http://petstore.swagger.io/v2*
3+
All URIs are relative to *http://petstore.swagger.io:80/v2*
44

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

0 commit comments

Comments
 (0)