Skip to content

Commit 34c6cf5

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.183.2
1 parent 66556cc commit 34c6cf5

File tree

8 files changed

+31
-17
lines changed

8 files changed

+31
-17
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ management:
44
docChecksum: 5e4ef027bc51f54368e8b1607b77c098
55
docVersion: 1.0.0
66
speakeasyVersion: internal
7-
generationVersion: 2.258.0
8-
releaseVersion: 0.9.1
9-
configChecksum: 3261877a2c6b65ab3c51fe9b7dc9ac08
7+
generationVersion: 2.262.2
8+
releaseVersion: 0.9.2
9+
configChecksum: 1aa9e5a318dd8ebb40be97e07a5e1bf4
1010
repoURL: https://github.com/ding-live/ding-csharp.git
1111
repoSubDirectory: .
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
core: 3.3.2
1616
examples: 2.81.3
1717
flattening: 2.81.1
18-
globalSecurity: 2.83.0
18+
globalSecurity: 2.83.1
1919
globalServerURLs: 2.82.2
2020
serverIDs: 2.82.1
2121
generatedFiles:

DingSDK/Ding.cs

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

7474
private const string _language = "csharp";
75-
private const string _sdkVersion = "0.9.1";
76-
private const string _sdkGenVersion = "2.258.0";
75+
private const string _sdkVersion = "0.9.2";
76+
private const string _sdkGenVersion = "2.262.2";
7777
private const string _openapiDocVersion = "1.0.0";
78-
private const string _userAgent = "speakeasy-sdk/csharp 0.9.1 2.258.0 1.0.0 DingSDK";
78+
private const string _userAgent = "speakeasy-sdk/csharp 0.9.2 2.262.2 1.0.0 DingSDK";
7979
private string _serverUrl = "";
8080
private ISpeakeasyHttpClient _defaultClient;
8181
private Func<Security>? _securitySource;
@@ -104,6 +104,10 @@ public Ding(Security? security = null, Func<Security>? securitySource = null, st
104104
{
105105
_securitySource = () => security;
106106
}
107+
else
108+
{
109+
throw new Exception("security and securitySource cannot both be null");
110+
}
107111

108112
SDKConfiguration = new SDKConfig()
109113
{

DingSDK/DingSDK.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<IsPackable>true</IsPackable>
44
<PackageId>DingSDK</PackageId>
5-
<Version>0.9.1</Version>
5+
<Version>0.9.2</Version>
66
<Authors>Ding</Authors>
77
<TargetFramework>net5.0</TargetFramework>
88
<Nullable>enable</Nullable>

DingSDK/Lookup.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ public class Lookup: ILookup
3838
{
3939
public SDKConfig SDKConfiguration { get; private set; }
4040
private const string _language = "csharp";
41-
private const string _sdkVersion = "0.9.1";
42-
private const string _sdkGenVersion = "2.258.0";
41+
private const string _sdkVersion = "0.9.2";
42+
private const string _sdkGenVersion = "2.262.2";
4343
private const string _openapiDocVersion = "1.0.0";
44-
private const string _userAgent = "speakeasy-sdk/csharp 0.9.1 2.258.0 1.0.0 DingSDK";
44+
private const string _userAgent = "speakeasy-sdk/csharp 0.9.2 2.262.2 1.0.0 DingSDK";
4545
private string _serverUrl = "";
4646
private ISpeakeasyHttpClient _defaultClient;
4747
private Func<Security>? _securitySource;

DingSDK/Otp.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ public class Otp: IOtp
4848
{
4949
public SDKConfig SDKConfiguration { get; private set; }
5050
private const string _language = "csharp";
51-
private const string _sdkVersion = "0.9.1";
52-
private const string _sdkGenVersion = "2.258.0";
51+
private const string _sdkVersion = "0.9.2";
52+
private const string _sdkGenVersion = "2.262.2";
5353
private const string _openapiDocVersion = "1.0.0";
54-
private const string _userAgent = "speakeasy-sdk/csharp 0.9.1 2.258.0 1.0.0 DingSDK";
54+
private const string _userAgent = "speakeasy-sdk/csharp 0.9.2 2.262.2 1.0.0 DingSDK";
5555
private string _serverUrl = "";
5656
private ISpeakeasyHttpClient _defaultClient;
5757
private Func<Security>? _securitySource;

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ This SDK supports the following security scheme globally:
131131

132132
| Name | Type | Scheme |
133133
| -------- | -------- | -------- |
134-
| `apiKey` | apiKey | API key |
134+
| `APIKey` | apiKey | API key |
135135

136136
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. For example:
137137
```csharp

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,14 @@ Based on:
170170
### Generated
171171
- [csharp v0.9.1] .
172172
### Releases
173-
- [NuGet v0.9.1] https://www.nuget.org/packages/DingSDK/0.9.1 - .
173+
- [NuGet v0.9.1] https://www.nuget.org/packages/DingSDK/0.9.1 - .
174+
175+
## 2024-02-17 00:15:58
176+
### Changes
177+
Based on:
178+
- OpenAPI Doc 1.0.0
179+
- Speakeasy CLI 1.183.2 (2.262.2) https://github.com/speakeasy-api/speakeasy
180+
### Generated
181+
- [csharp v0.9.2] .
182+
### Releases
183+
- [NuGet v0.9.2] https://www.nuget.org/packages/DingSDK/0.9.2 - .

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ generation:
88
parameterOrderingFeb2024: false
99
requestResponseComponentNamesFeb2024: false
1010
csharp:
11-
version: 0.9.1
11+
version: 0.9.2
1212
author: Ding
1313
dotnetVersion: net5.0
1414
flattenGlobalSecurity: false

0 commit comments

Comments
 (0)