Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit 91b38b9

Browse files
author
LaunchDarklyCI
committed
Version 5.0.2 automatically generated from ld-openapi@5f6514d.
1 parent 6a5ab80 commit 91b38b9

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.swagger-codegen/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.8
1+
2.4.17

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Build custom integrations with the LaunchDarkly REST API
99

1010
This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
1111

12-
- API version: 5.0.1
12+
- API version: 5.0.2
1313
- SDK version: 1.0.0
1414
- Build package: io.swagger.codegen.languages.CsharpDotNet2ClientCodegen
1515
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)

openapi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ info:
1010
license:
1111
name: Apache 2.0
1212
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
13-
version: 5.0.1
13+
version: 5.0.2
1414
host: app.launchdarkly.com
1515
basePath: /api/v2
1616
schemes:

src/main/CsharpDotNet2/LaunchDarkly/Api/Client/ApiClient.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public Object CallApi(String path, RestSharp.Method method, Dictionary<String, S
8989

9090
// add file parameter, if any
9191
foreach(var param in fileParams)
92-
request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentType);
92+
request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentLength, param.Value.ContentType);
9393

9494
if (postBody != null) // http body (model) parameter
9595
request.AddParameter("application/json", postBody, ParameterType.RequestBody);
@@ -116,7 +116,7 @@ public void AddDefaultHeader(string key, string value)
116116
/// <returns>Escaped string.</returns>
117117
public string EscapeString(string str)
118118
{
119-
return RestSharp.Contrib.HttpUtility.UrlEncode(str);
119+
return HttpUtility.UrlEncode(str);
120120
}
121121

122122
/// <summary>

src/main/CsharpDotNet2/LaunchDarkly/Api/Client/Configuration.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static String TempFolderPath
8484
private static string _dateTimeFormat = ISO8601_DATETIME_FORMAT;
8585

8686
/// <summary>
87-
/// Gets or sets the the date time format used when serializing in the ApiClient
87+
/// Gets or sets the date time format used when serializing in the ApiClient
8888
/// By default, it's set to ISO 8601 - "o", for others see:
8989
/// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx
9090
/// and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx
@@ -123,7 +123,7 @@ public static String ToDebugReport()
123123
.GetExecutingAssembly()
124124
.GetReferencedAssemblies()
125125
.Where(x => x.Name == "System.Core").First().Version.ToString() + "\n";
126-
report += " Version of the API: 5.0.1\n";
126+
report += " Version of the API: 5.0.2\n";
127127
report += " SDK Package Version: 1.0.0\n";
128128

129129
return report;

0 commit comments

Comments
 (0)