Skip to content

Commit a6caf97

Browse files
actions-userhleb-albau
authored andcommitted
api.rf.com as default example server
1 parent 0f461cd commit a6caf97

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Regula.DocumentReader.WebClient/Client/ApiClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ public partial class ApiClient
5454
public ApiClient()
5555
{
5656
Configuration = Regula.DocumentReader.WebClient.Client.Configuration.Default;
57-
RestClient = new RestClient("http://localhost:8080");
57+
RestClient = new RestClient("https://api.regulaforensics.com");
5858
}
5959

6060
/// <summary>
6161
/// Initializes a new instance of the <see cref="ApiClient" /> class
62-
/// with default base path (http://localhost:8080).
62+
/// with default base path (https://api.regulaforensics.com).
6363
/// </summary>
6464
/// <param name="config">An instance of Configuration.</param>
6565
public ApiClient(Configuration config)
@@ -74,7 +74,7 @@ public ApiClient(Configuration config)
7474
/// with default configuration.
7575
/// </summary>
7676
/// <param name="basePath">The base path.</param>
77-
public ApiClient(String basePath = "http://localhost:8080")
77+
public ApiClient(String basePath = "https://api.regulaforensics.com")
7878
{
7979
if (String.IsNullOrEmpty(basePath))
8080
throw new ArgumentException("basePath cannot be empty");

src/Regula.DocumentReader.WebClient/Client/Configuration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static Configuration()
115115
public Configuration()
116116
{
117117
UserAgent = "OpenAPI-Generator/1.0.0/csharp";
118-
BasePath = "http://localhost:8080";
118+
BasePath = "https://api.regulaforensics.com";
119119
DefaultHeader = new ConcurrentDictionary<string, string>();
120120
ApiKey = new ConcurrentDictionary<string, string>();
121121
ApiKeyPrefix = new ConcurrentDictionary<string, string>();
@@ -131,7 +131,7 @@ public Configuration(
131131
IDictionary<string, string> defaultHeader,
132132
IDictionary<string, string> apiKey,
133133
IDictionary<string, string> apiKeyPrefix,
134-
string basePath = "http://localhost:8080") : this()
134+
string basePath = "https://api.regulaforensics.com") : this()
135135
{
136136
if (string.IsNullOrWhiteSpace(basePath))
137137
throw new ArgumentException("The provided basePath is invalid.", "basePath");

0 commit comments

Comments
 (0)