Skip to content

Commit 815393c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.455.7
1 parent df048fa commit 815393c

File tree

9 files changed

+34
-25
lines changed

9 files changed

+34
-25
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ id: 76b4d38c-5441-40d8-8002-c456a3ea1652
33
management:
44
docChecksum: 7b0a21df5c4526c3e13357d16d9397df
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.455.3
7-
generationVersion: 2.479.3
8-
releaseVersion: 0.19.45
9-
configChecksum: ee9dd83134679eb51945945b783c1a34
6+
speakeasyVersion: 1.455.7
7+
generationVersion: 2.480.1
8+
releaseVersion: 0.19.46
9+
configChecksum: b4fb26d063bc0054031b2500b281745b
1010
repoURL: https://github.com/ding-live/ding-csharp.git
1111
repoSubDirectory: .
1212
published: true
1313
features:
1414
csharp:
1515
additionalDependencies: 0.1.0
16-
core: 3.10.7
16+
core: 3.10.9
1717
examples: 2.81.3
1818
flattening: 2.81.3
1919
globalSecurity: 2.83.6

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.455.3
1+
speakeasyVersion: 1.455.7
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:17efb3a638264e6b5594e995d5f1921642fa9cdf273d84fe76ac900d3767ae80
5+
sourceRevisionDigest: sha256:7895362f484b702d0b817eb4f0c0b86ccc719406dbd16dc21b7088f10b1eae88
66
sourceBlobDigest: sha256:1bc8346f862d17395d3ec227c51c74504f59eabaf83eb40c2932c517c8a40bf8
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1734308663
9+
- speakeasy-sdk-regen-1734394984
1010
- 1.0.0
1111
targets:
1212
DingSDK:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:17efb3a638264e6b5594e995d5f1921642fa9cdf273d84fe76ac900d3767ae80
15+
sourceRevisionDigest: sha256:7895362f484b702d0b817eb4f0c0b86ccc719406dbd16dc21b7088f10b1eae88
1616
sourceBlobDigest: sha256:1bc8346f862d17395d3ec227c51c74504f59eabaf83eb40c2932c517c8a40bf8
1717
codeSamplesNamespace: my-source-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:acfa14712f0c0b4dad7ce6673192cdbc2861af717a39bd6456d4a115f81aec2e
18+
codeSamplesRevisionDigest: sha256:07621e005a578b483944d3d61d09ecf906363067b89795a1e570c36bcf7a2af4
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

DingSDK/Ding.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public class Ding: IDing
8080
public SDKConfig SDKConfiguration { get; private set; }
8181

8282
private const string _language = "csharp";
83-
private const string _sdkVersion = "0.19.45";
84-
private const string _sdkGenVersion = "2.479.3";
83+
private const string _sdkVersion = "0.19.46";
84+
private const string _sdkGenVersion = "2.480.1";
8585
private const string _openapiDocVersion = "1.0.0";
86-
private const string _userAgent = "speakeasy-sdk/csharp 0.19.45 2.479.3 1.0.0 DingSDK";
86+
private const string _userAgent = "speakeasy-sdk/csharp 0.19.46 2.480.1 1.0.0 DingSDK";
8787
private string _serverUrl = "";
8888
private int _serverIndex = 0;
8989
private ISpeakeasyHttpClient _client;

DingSDK/DingSDK.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
55
<PackageId>DingSDK</PackageId>
6-
<Version>0.19.45</Version>
6+
<Version>0.19.46</Version>
77
<TargetFramework>net5.0</TargetFramework>
88
<Authors>Ding</Authors>
99
<Copyright>Copyright (c) Ding 2024</Copyright>

DingSDK/Lookup.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ public class Lookup: ILookup
4141
{
4242
public SDKConfig SDKConfiguration { get; private set; }
4343
private const string _language = "csharp";
44-
private const string _sdkVersion = "0.19.45";
45-
private const string _sdkGenVersion = "2.479.3";
44+
private const string _sdkVersion = "0.19.46";
45+
private const string _sdkGenVersion = "2.480.1";
4646
private const string _openapiDocVersion = "1.0.0";
47-
private const string _userAgent = "speakeasy-sdk/csharp 0.19.45 2.479.3 1.0.0 DingSDK";
47+
private const string _userAgent = "speakeasy-sdk/csharp 0.19.46 2.480.1 1.0.0 DingSDK";
4848
private string _serverUrl = "";
4949
private ISpeakeasyHttpClient _client;
5050
private Func<DingSDK.Models.Components.Security>? _securitySource;

DingSDK/Otp.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ public class Otp: IOtp
6161
{
6262
public SDKConfig SDKConfiguration { get; private set; }
6363
private const string _language = "csharp";
64-
private const string _sdkVersion = "0.19.45";
65-
private const string _sdkGenVersion = "2.479.3";
64+
private const string _sdkVersion = "0.19.46";
65+
private const string _sdkGenVersion = "2.480.1";
6666
private const string _openapiDocVersion = "1.0.0";
67-
private const string _userAgent = "speakeasy-sdk/csharp 0.19.45 2.479.3 1.0.0 DingSDK";
67+
private const string _userAgent = "speakeasy-sdk/csharp 0.19.46 2.480.1 1.0.0 DingSDK";
6868
private string _serverUrl = "";
6969
private ISpeakeasyHttpClient _client;
7070
private Func<DingSDK.Models.Components.Security>? _securitySource;

DingSDK/Utils/RequestBodySerializer.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ private static HttpContent SerializeMultipart(object request, string mediaType)
276276

277277
byte[]? content = null;
278278
string fileName = "";
279-
string fieldName = "";
279+
string fieldName = metadata.Name;
280280

281281
foreach (var fileProp in fileProps)
282282
{
@@ -297,12 +297,11 @@ private static HttpContent SerializeMultipart(object request, string mediaType)
297297
}
298298
else
299299
{
300-
fieldName = fileMetadata.Name ?? fileProp.Name;
301300
fileName = fileProp.GetValue(value)?.ToString() ?? "";
302301
}
303302
}
304303

305-
if (fieldName == "" || fileName == "" || content == null)
304+
if (fileName == "" || content == null)
306305
{
307306
throw new Exception("Invalid multipart/form-data file");
308307
}

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,4 +910,14 @@ Based on:
910910
### Generated
911911
- [csharp v0.19.45] .
912912
### Releases
913-
- [NuGet v0.19.45] https://www.nuget.org/packages/DingSDK/0.19.45 - .
913+
- [NuGet v0.19.45] https://www.nuget.org/packages/DingSDK/0.19.45 - .
914+
915+
## 2024-12-17 00:23:01
916+
### Changes
917+
Based on:
918+
- OpenAPI Doc
919+
- Speakeasy CLI 1.455.7 (2.480.1) https://github.com/speakeasy-api/speakeasy
920+
### Generated
921+
- [csharp v0.19.46] .
922+
### Releases
923+
- [NuGet v0.19.46] https://www.nuget.org/packages/DingSDK/0.19.46 - .

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ generation:
1111
oAuth2ClientCredentialsEnabled: false
1212
oAuth2PasswordEnabled: false
1313
csharp:
14-
version: 0.19.45
14+
version: 0.19.46
1515
additionalDependencies: []
1616
author: Ding
1717
clientServerStatusCodesAsErrors: true

0 commit comments

Comments
 (0)